VocabularysmtpClass descriptionAn e-mail. E-mails have the following slots:
| from | The sender of the e-mail. An e-mail address. |
| to | The recipients of the e-mail. A sequence of e-mail addresses. |
| cc | Carbon-copy. A sequence of e-mail addresses. |
| bcc | Blind carbon-copy. A sequence of e-mail addresses. |
| subject | The subject of the e-mail. A string. |
| content-type | The MIME type of the body. A string, default is text/plain. |
| encoding | An encoding to send the body as. Default is utf8. |
| body | The body of the e-mail. A string. |
The
from and
to slots are required; the rest are optional.
An e-mail address is a string in one of the following two formats:
| • | joe@groff.com |
| • | Joe Groff <joe@groff.com> |
Definition