Share via


EmailMessage.CreateMailMessage Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Creates a MailMessage from the configuration data which was used to create the instance of this object.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
ProtectedFunctionCreateMailMessageAs MailMessage
protected MailMessage CreateMailMessage()
protected:
MailMessage^ CreateMailMessage()
protectedfunctionCreateMailMessage() : MailMessage

Return Value

A new MailMessage.

See Also

EmailMessage Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.