Table of Contents

Class: SendMailTag Zope-2.2.1-src/lib/python/Products/MailHost/SendMailTag.py

the send mail tag, used like thus:

to: person@their.machine.com from: me@mymachine.net subject: just called to say...

boy howdy!

Text between the sendmail and /sendmail tags is processed by the MailHost machinery and delivered. There must be at least one blank line seperating the headers (to/from/etc..) from the body of the message.

Instead of specifying a MailHost, an smtphost may be specified ala smtphost="mail.mycompany.com" port=25 (port defaults to 25 automatically). Other parameters are

  • mailto -- person (or comma-seperated list of persons) to send the mail to. If not specified, there must be a to: header in the message.

  • mailfrom -- person sending the mail (basically who the recipient can reply to). If not specified, there must be a from: header in the message.

  • subject -- optional subject. If not specified, there must be a subject: header in the message.

  • encode -- optional encoding. Possible values are: base64, quoted-printable and uuencode.

Methods   
__init__
render
  __init__ 
__init__ ( self,  blocks )

Exceptions   
MailHostError
  render 
render ( self,  md )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6