| EmailInfoProviderSetEmailInfo Method (EmailMessage, Int32, Boolean, String, Int32) | 
            Creates new EmailInfo from EmailMessage.
            
 
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 10.0.0
 Syntax
Syntaxpublic 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
See Also