MessageFrom Property
The author of a message.
Object Oriented Interface
public function getMessageFrom(); public function setMessageFrom($value);
Procedural Interface
cloudmail_gmail_get($res, 17 ); cloudmail_gmail_set($res, 17, $value );
Default Value
''
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.
Data Type
String