MailHosts allow you to send mail via the Simple Mail Transfer Protocol (SMTP).
This object can be used deliver mail by the Sends an email message where the messageText is an rfc822 formatted
message. This allows you complete control over the message headers,
including setting any extra headers such as Cc: and Bcc:.
The arguments are:
send(messageText, mto=None, mfrom=None, subject=None, encode=None)
None
means no encoding is done. Valid values
are base64
, quoted-printable
and uuencode
.
simple_send(self, mto, mfrom, subject, body)
Sends a message. Only To:, From: and Subject: headers can be set. The arguments are: