EmailMessage ToMailMessage Method Kentico 8.0 API Reference
Converts the EmailMessage to OnlineMailMessage.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

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

Return Value

Type: OnlineMailMessage
A OnlineMailMessage object
See Also