Click or drag to resize
EmailInfoProviderGetMailMessage Method
Creates new MailMessage from given EmailInfo.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 10.0.0
Syntax
C#
public static MailMessage GetMailMessage(
	EmailInfo emailInfo,
	string siteName = null
)

Parameters

emailInfo
Type: CMS.EmailEngineEmailInfo
EmailInfo object
siteName (Optional)
Type: SystemString
Site name; default value is null

Return Value

Type: MailMessage
New MailMessage object
See Also