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.
>
>Ta!
>
>Steve
>
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-->
Comments:
<!--#var comments-->
<!--#/sendmail-->
hth
tone
------
Dr Tony McDonald, FMCC, Networked Learning Environments Project
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5116
A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )