MessageFrom Property

The author of a message.

Object Oriented Interface

public function getMessageFrom();
public function setMessageFrom($value);

Procedural Interface

cloudmail_office365_get($res, 45 );
cloudmail_office365_set($res, 45, $value );

Default Value



This property contains the author of a message. This property is optional. If it 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 (Define who a Message is From)

office365.MessageFrom = "";

Example (Define who a Message is From with a Name and Address)

office365.MessageFrom = "\"Stephen Withavee\"";

This property is not available at design time.

Data Type


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