You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

On this Page:

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

JavaMail_SendMessage

Figure: The Mail Class

Sending a Message

Find below an example activity using the sendMessage method:

JavaMail_SendMessage_sendMessage

Parameters of method sendMessage in detail:

Name
Type
Direction
Description
connectionMailConnectionInSpecifies connection details such as server name, protocol etc. (see Mail Connection).
mailMailInAn instance of the Mail class defining the message to be sent.
  • No labels