Sending Emails
Messages can be sent by calling Methods of the SendMessage class, which takes the Mail to be sent as one argument.
Figure: The SendMessage Class

Figure: The Mail Class

Sending a Message
Find below an example activity using the sendMessage method:

Parameters of method sendMessage in detail:
Name | Type | Direction | Description |
---|---|---|---|
connection | MailConnection | In | Specifies connection details such as server name, protocol etc. (see Mail Connection). |
In | An instance of the Mail class defining the message to be sent. |