Message.From

Overview

Gets or sets the message sender.

MessageContact myMessage.From { get; set; }

Remarks

If not set default sender is used.

When setting this property email address string is accepted.

Example

var msg = $Messages.New(); msg.From = 'john.lenon@mail.com'; // or msg.From = 'John <john.lenon@mail.com>';

Types

MessageContact

Represents a mail contact as recipient or sender.

{ // Email address of contact. Address : string // Display name of contact. DisplayName : string }

Copyright © 2010 - 2023 Emakin. All rights reserved.