mò $á¸Ec@s/dddddd„Zdfd„ƒYZdS(tt localhostif1.0cCsdS(s6 Add a mailhost object to an ObjectManager. N((tidttitlet smtp_hostRt smtp_portttimeout((t>/data/zmath/zope/lib/python/Products/MailHost/help/MailHost.pytmanage_addMailHoststMailHostcBs2tZdZeZeeeed„Zd„ZRS(s¾ MailHost objects work as adapters to Simple Mail Transfer Protocol (SMTP) servers. MailHosts are used by DTML 'sendmail' tags to find the proper host to deliver mail to. cCsdS(s  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 Reply-To:. The arguments are: messageText -- The mail message. It can either be a rfc822 formed text with header fields, or just a body without any header fields. The other arguments given will override the header fields in the message, if they exist. mto -- A commaseparated string or list of recipient(s) of the message. mfrom -- The address of the message sender. subject -- The subject of the message. encode -- The rfc822 defined encoding of the message. The default of 'None' means no encoding is done. Valid values are 'base64', 'quoted-printable' and 'uuencode'. N((t messageTexttmtotmfromtsubjecttencode((Rtsend#scCsdS(s² Sends a message. Only To:, From: and Subject: headers can be set. Note that simple_send does not process or validate its arguments in any way. The arguments are: mto -- A commaseparated string of recipient(s) of the message. mfrom -- The address of the message sender. subject -- The subject of the message. body -- The body of the message. N((tselfR R R tbody((Rt simple_send<s(t__name__t __module__t__doc__Rt__constructor__tNoneRR(((RR s N(RRR (RR ((Rt?s