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

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
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: [email protected]
      To: [email protected]
      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">

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.