Gets or sets the e-mail address of the message sender.
An EmailAddress object containing the e-mail address of the message sender.
To specify it as a string, set msg.From.AsString value (assuming msg is MailMessage instance).
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is a null reference (Nothing in Visual Basic). |
The example is available in MailMessage topic.
MailMessage Class | MailBee.Mime Namespace