EmailInfoProviderSetEmailInfo Method (EmailMessage, Int32, Boolean, String, Int32) |
Note: This API is now obsolete.
Creates new EmailInfo from EmailMessage.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 11.0.0
Syntax [ObsoleteAttribute("Use SetEmailInfo(EmailMessage, int, bool, bool) method instead.")]
public static EmailInfo SetEmailInfo(
EmailMessage message,
int siteId,
bool dontSend,
string setName,
int setRelatedId
)
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 - setName
- Type: SystemString
Allows to flag e-mail as a part of specific e-mail set, could be null - setRelatedId
- Type: SystemInt32
ID for indication of the e-mail in specific set
Return Value
Type:
EmailInfoEmailInfo object
See Also