messageFrom (property)
The author of a message.
Syntax
@property (nonatomic,readwrite,assign,getter=messageFrom,setter=setMessageFrom:) NSString* messageFrom; - (NSString*)messageFrom; - (void)setMessageFrom:(NSString*)newMessageFrom;
public var messageFrom: String { get {...}
set {...} }
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);