Skip to content

From

Gets or sets the message sender.

Type

1
[MessageContact](./MessageContact/index.md)

Declaration

1
 MessageContact myMessage.From

Remarks

If not set, the default sender is used.

When setting this property, an email address string is expected.

Set the sender address

1
2
3
4
var msg = $Messages.New();
msg.From = '[email protected]';
// or
msg.From = 'John <[email protected]>';

See Also