EmailInfoProviderSetEmailInfo Method (EmailMessage, Int32, Boolean, Boolean) |
Creates new EmailInfo from EmailMessage.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntaxpublic static EmailInfo SetEmailInfo(
EmailMessage message,
int siteId,
bool dontSend = false,
bool isMassEmail = false
)
Parameters
- message
- Type: CMS.EmailEngineEmailMessage
Email message - siteId
- Type: SystemInt32
ID of the site - dontSend (Optional)
- Type: SystemBoolean
If true, e-mail status remains 'being created' so it could not be sent - isMassEmail (Optional)
- Type: SystemBoolean
Indicates if the e-mail is mass
Return Value
Type:
EmailInfoEmailInfo object
See Also