DotNetOpenMail 0.5.7 (beta)

EmailMessage.FromAddress Property

The address that appears in the From header. It will also be used as the Envelope From address in the SMTP negotiation, unless it is overridden by the EnvelopeFromAddress setting.

[Visual Basic]
Public Property FromAddress As EmailAddress
[C#]
public EmailAddress FromAddress { get; set; }
[C++]
public: __property EmailAddress* get_FromAddress();
public: __property void set_FromAddress(EmailAddress* );
[JScript]
public function get FromAddress() : EmailAddress
public function set FromAddress(EmailAddress);

See Also

EmailMessage Class | DotNetOpenMail Namespace