MailMessageEventArgs(MailMessage) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the MailMessageEventArgs class.
public:
MailMessageEventArgs(System::Net::Mail::MailMessage ^ message);
public MailMessageEventArgs (System.Net.Mail.MailMessage message);
new System.Web.UI.WebControls.MailMessageEventArgs : System.Net.Mail.MailMessage -> System.Web.UI.WebControls.MailMessageEventArgs
Public Sub New (message As MailMessage)
Parameters
- message
- MailMessage
The MailMessage containing the message.
Remarks
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.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.