Share via


MailCommandEventArgs.FromAddress Property

The FromAddress property gets or sets an instance of the RoutingAddress class that is associated with the event to which this instance of the MailCommandEventArgs class was passed.

Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Property FromAddress As RoutingAddress
public RoutingAddress FromAddress { get; set; }
public:
property RoutingAddress FromAddress {
    RoutingAddress get ();
    void set (RoutingAddress value);
}
/** @property */
public RoutingAddress get_FromAddress ()

/** @property */
public void set_FromAddress (RoutingAddress value)
public function get FromAddress () : RoutingAddress

public function set FromAddress (value : RoutingAddress)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003