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