Click or drag to resize
EmailInfoProviderSetEmailInfo Method (EmailMessage, Int32, Boolean, Boolean)
Creates new EmailInfo from EmailMessage.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 11.0.0
Syntax
C#
public 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: EmailInfo
EmailInfo object
See Also