SMTPSecureSocket.SendMail

From Xojo Documentation

Method

SMTPSecureSocket.SendMail()

Supported for all project types and targets.

Connects to the mail server, sends the messages in the queue, and disconnects.