CreateMail

The CreateMail method will create a new Mail Object

Syntax

Mailing.CreateMail MailTemplate

Parameters
MailTemplate
An optional Variant that contains either a Mail Object, an RFC822 content stored in a Content Object or a path to an .eml file.
Remarks

This method can only be called when processing a message during the OnReceiveMail event.

Example

See the OnReceiveMail example

Applies To

Mailing Object

See Also

RemoveMail, OnReceiveMail