<?xml version="1.0" encoding="utf-8"?>
<Type Name="MailMessageEventArgs" FullName="System.Web.UI.WebControls.MailMessageEventArgs">
  <TypeSignature Language="C#" Value="public class MailMessageEventArgs : System.Web.UI.WebControls.LoginCancelEventArgs" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Web.UI.WebControls.LoginCancelEventArgs</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.UI.WebControls.MailMessageEventArgs" /> class provides access to the <see cref="T:System.Web.Mail.MailMessage" /> object that contains the e-mail message. Because the <see cref="T:System.Web.UI.WebControls.MailMessageEventArgs" /> class is derived from the <see cref="T:System.Web.UI.WebControls.LoginCancelEventArgs" /> class, you can cancel sending an e-mail message in your event handler by setting the <see cref="P:System.Web.UI.WebControls.LoginCancelEventArgs.Cancel" /> property to true.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Provides data for e-mail–related events.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public MailMessageEventArgs (System.Net.Mail.MailMessage message);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="message" Type="System.Net.Mail.MailMessage" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Create a new instance of the <see cref="T:System.Web.UI.WebControls.MailMessageEventArgs" /> class when you want to pass a <see cref="T:System.Net.Mail.MailMessage" /> object to an event handler that might modify the message before sending it.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a new instance of the <see cref="T:System.Web.UI.WebControls.MailMessageEventArgs" /> class.</para>
        </summary>
        <param name="message">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Net.Mail.MailMessage" /> containing the message.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Message">
      <MemberSignature Language="C#" Value="public System.Net.Mail.MailMessage Message { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Net.Mail.MailMessage</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="P:System.Web.UI.WebControls.MailMessageEventArgs.Message" /> property returns the <see cref="T:System.Web.Mail.MailMessage" /> object that contains the e-mail message data. The <see cref="P:System.Web.UI.WebControls.MailMessageEventArgs.Message" /> property is read-only; however, you can use the <see cref="T:System.Web.Mail.MailMessage" /> object that it returns to modify the properties of the e-mail message.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the e-mail message contents.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>