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
    Get
    Set
'Usage
Dim instance As MailCommandEventArgs
Dim value As RoutingAddress

value = instance.FromAddress

instance.FromAddress = value
public RoutingAddress FromAddress { get; set; }

Property value

Type: Microsoft.Exchange.Data.Transport.RoutingAddress

See also

Reference

MailCommandEventArgs class

MailCommandEventArgs members

Microsoft.Exchange.Data.Transport.Smtp namespace