SMTP is the protocol which carries Internet mail messages. The SmtpMessage
object describes a message which is to be sent using SMTP. This is closely
related to the Smtp comms module which is used for sending the
message.
The format of message headers are defined by RFC 821.
The create function can be used to create an SmtpMessage
object eg.
(create SmtpMessage)
Once created, this module is tailored using its properties.
An SmtpMessage object supports the following properties:
| property name | property type | description |
|---|---|---|
sender |
String | email address of the message sender |
recipient |
String | email address of the message recipient (if there is only one) |
copyRecipient |
String | email address of the recipient of a message copy (if there is only one) |
recipients |
List of Strings | email addresses of the message recipients (if there are more than one) |
copyRecipients |
List of Strings | email addresses of the recipients of a message copy (if there are more than one) |
subject |
String | subject for the message |
text |
String | text for the message |
attachments |
List | attachments to the message |
| Contents | Index | Current topic: communications | Related topics: communications classes, objects |