Cloud Mail 2020 Kotlin Edition

Questions / Feedback?

MessageFrom Property

The author of a message.

Syntax

public var messageFrom: String?

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

This property is not available at design time.

Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 Kotlin Edition - Version 20.0 [Build 7941]