MessageFrom Property
The author of a message.
Syntax
public String getMessageFrom(); public void setMessageFrom(String messageFrom);
Remarks
This property contains the author of a message. This property is optional. If it left blank, the message's author will be the Google account used in Authorization.
This property is applied to a message created with CreateDraft or messages sent with SendMail.
Example (Define who a Message is From)
gmail.MessageFrom = "stephen@company.com"; gmail.SendMail();
Example (Define who a Message is From with a Name and Address)
gmail.MessageFrom = "Stephen Withavee < stephen@company.com >"; gmail.SendMail();
This property is not available at design time.
Default Value
""