MessageTo Property

A comma separated list of recipients for a message.

Syntax

public var messageTo: String {
get {...}
set {...} }

Default Value

""

Remarks

This property contains a comma separated list of destinations for a mail message. These recipients are added to a message created with CreateDraft or messages sent with SendMail.

Example (Add a Recipient)


gmail.MessageTo = "bbobbertson@bobmail.com";
gmail.SendMail();

Example (Add a Recipient with a Name and Address)


gmail.MessageTo = "Brandrew Bobbertson < bbobbertson@bobmail.com >";
gmail.SendMail();

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