EmailInfoProviderGetMailMessage Method |
Creates new System.Net.Mail.MailMessage from EmailInfo.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntaxpublic 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:
MailMessageNew MailMessage object
See Also