MailEventNotificationInfo.Message Property

Gets the e-mail message that will be sent as the current message.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public:
property MailMessage^ Message {
	MailMessage^ get ();
}
/** @property */
public MailMessage get_Message ()

public function get Message () : MailMessage

Not applicable.

Property Value

A MailMessage that specifies the e-mail message to send.

The MailMessage object provided by this property is complete except for the message body, which is the part the template creates. The template can modify the values of the MailMessage object, if appropriate.

The following code example shows how to use a MailEventNotificationInfo object in an e-mail template for a TemplatedMailWebEventProvider object.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: