Dart.Mail Namespace > MailMessage Class : Sender Property |
Public Property Sender As String
Dim instance As MailMessage Dim value As String instance.Sender = value value = instance.Sender
public string Sender {get; set;}
Setting this property adds the "Sender:" header line to the message. It should be included if the From includes multiple addresses, or the sending agent is different. Setting this property to null or empty will remove the header field from the header.
When set, the address format is standardized and the "friendly name" is word-encoded using HeaderDictionary.Encoding.