EmailMessage.AddRecipient

From Xojo Documentation

Method

EmailMessage.AddRecipient(recipient As String)

Supported for all project types and targets.

Adds a recipient to the email.

Example

Dim mail As New EmailMessage
mail.AddRecipient("mary@company.com")
mail.AddRecipient("mark@company.com")