Click or drag to resize
EmailMessageToMailMessage Method
Converts the EmailMessage to MailMessage.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
public MailMessage ToMailMessage(
	string siteName
)

Parameters

siteName
Type: SystemString
Site name (determines e-mail format depending on the site settings)

Return Value

Type: MailMessage
A MailMessage object
See Also