Back to product page

FromEmail Property


Returns Email of the sender, if found.

Type

String

Syntax

  • Basic
object.FromEmail [= value]
The FromEmail(object,value) syntax has these parts:
objectAn expression evaluating to an object of type SmtpMsg
valueA String value.

Remarks

FromEmail property will read sender of the message (through From property), and try to return only email address, without the name. Typically, full sender header may look like this:
"Technical Support" techsupport@weonlydo.com

in which case FromEmail would return 'techsupport@weonlydo.com', without any quotes.

To retrieve name, you can use FromName property.

Platforms

Windows