[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Zope Services

webmaster at zope.org webmaster at zope.org
Mon Feb 9 21:55:46 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZopeServices.stx#2-38

---------------

    Now you can use the new MailHost object from a DTML 'sendmail'
    tag.  This is explained in more detail in the chapter entitled
    "Variables and Advanced DTML":AdvDTML.stx, but we provide a simple
    example below.  In your root folder, create a DTML Method named
    'send_mail' with a body that looks like the following::

      <dtml-sendmail>
      From: me at nowhere.com
      To: you at nowhere.com
      Subject: Stop the madness!

      Take a day off, you need it.

      </dtml-sendmail>

      % Anonymous User - Feb. 9, 2004 9:55 pm:
       The sendmail tag should be:
       <dtml-sendmail smtphost="mymailhost.com">



More information about the ZDP mailing list