MailMessageEventArgs Constructor (MailMessage)

 

Creates a new instance of the MailMessageEventArgs class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public MailMessageEventArgs(
	MailMessage message
)

Parameters

message
Type: System.Net.Mail.MailMessage

The MailMessage containing the message.

Create a new instance of the MailMessageEventArgs class when you want to pass a MailMessage object to an event handler that might modify the message before sending it.

.NET Framework
Available since 2.0
Return to top
Show: