[Zope-CMF] Mailhost

Dieter Maurer dieter@handshake.de
Wed, 22 Aug 2001 23:19:37 +0200 (CEST)


Tim Fouracre writes:
 > In the join_form, I give users the option to subscribe to a mailing list. 
 > Thus when the register form is called, I have added the following code to 
 > mail the list.
 > 
 >       <dtml-if expr="REQUEST.get('discuss_checkbox',1)">
 >        <dtml-sendmail mailhost="MailHost">
 >         To: join-censml-discuss@lyris.nipltd.com
 >         From: <dtml-var email>
 >         Subject: Subscribe
 >        </dtml-sendmail>
 >       </dtml-if>
*NEVER* indent the content of a "dtml-sendmail" tag.
It must start in column 1.


Dieter