At 10:01 pm +1000 22/1/01, steve smith wrote:
>Anyone have any good, real-world examples using DTML-Sendmail tags? Would
>especially appreciate examples integrating SQL queries.

What, you mean including ones that send mail into the future? :) 
(couldn't resist).

Assuming you've set up a MailHost object called 'MailHost'

Set up a <FORM> with variables: recipient, name and comments and make 
the ACTION URL the following piece of DTML (with appropriate sugar 
around it)

<!--#sendmail mailhost="MailHost"-->
To: Feedback Recipient <<!--#var recipient-->>
From: Zope Feedback Form <zope_form@thoth>
Subject: Feedback from the web

Feedback from : <!--#var name-->
<!--#var comments-->

Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5116
A Zope list for UK HE/FE

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to