MessageFrom Property

The author of a message.

Syntax

public var messageFrom: String {
get {...}
set {...} }

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();

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 macOS Edition - Version 20.0 [Build 8164]