email
SMTP client library

Prev:plain-auth
Next:<email> ( -- email )


Vocabulary
smtp

Class description
An e-mail. E-mails have the following slots:
fromThe sender of the e-mail. An e-mail address.
toThe recipients of the e-mail. A sequence of e-mail addresses.
ccCarbon-copy. A sequence of e-mail addresses.
bccBlind carbon-copy. A sequence of e-mail addresses.
subjectThe subject of the e-mail. A string.
content-typeThe MIME type of the body. A string, default is text/plain.
encodingAn 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