Cloud Mail 2020 JavaScript Edition

Questions / Feedback?

MessageFrom Property

The author of a message.

Syntax


 getMessageFrom(): string;

 setMessageFrom(messageFrom: string): void;

Default Value

""

Remarks

This property contains the author of a message. This property is optional. If it is left blank, the message's author will be the Microsoft account used in Authorization.

This property is applied to a message created with CreateDraft or messages sent with SendMail.

Example (Specify Message Author)


office365.MessageFrom = "stephen@company.com";
office365.SendMail(True);

Example (Specify Message Author - Name Included)


office365.MessageFrom = "\"Stephen Withavee\" stephen@company.com";
office365.SendMail(True);

This property is not available at design time.

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