EmailMessage.FromAddress

From Xojo Documentation

Property (As String )
aEmailMessage.FromAddress = newStringValue
or
StringValue = aEmailMessage.FromAddress

Supported for all project types and targets.

Gets or sets a String containing the address the email is coming from.

Example

mail.FromAddress = "mary@company.com"