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
Find below an example activity using the sendMessage method:
Parameters of method sendMessage in detail:
Name | Type | Direction | Description |
---|---|---|---|
connection | MailConnection | In | |
In | An instance of the Mail class defining the message to be sent. |