PowerTCP Mail for .NET
From Property

Gets or sets the email address of who the email is from.
Public Property From As String
Dim instance As MailMessage
Dim value As String
instance.From = value
value = instance.From
public string From {get; set;}
public: __property string* get_From();
public: __property void set_From( 
   string* value
property String^ From {
   String^ get();
   void set (    String^ value);

Property Value

Decoded email address.

Gets or sets the "From:" header field. Set to null or empty to remove the header field from the header.

When set, the address format is standardized and the "friendly name" is word-encoded using HeaderDictionary.Encoding.

See Also


MailMessage Class
MailMessage Members

PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic