Gets or sets a string that specifies the sender's email address.
The From property contains the email address that will be displayed in the From message field. This property is mandatory to Send a message.
| Exception Type | Condition |
|---|---|
| MailMillException | From is set with an invalid email address |
This sample shows how to set the sender email address.
Mail oMail = new Mail(); oMail.From = "Kate <kate@emilltest.com>"
Mail Class | MailMill Namespace | Send