[Zope] Sendmail examples

Matt matt.bion@eudoramail.com
Wed, 25 Oct 2000 23:57:49 +1300


Here's on I particularly like, sorry it doesn't have a sql query.  It sends
an attached image file, contents and all, not just an IMG SRC reference.
And do youself a favour by adding a Mailhost object somewhere above where
you want to use it.

 <dtml-sendmail mailhost="MailHost">
To: Feedback Recipient <matt.bion@eudoramail.com>
From: Zope Feedback Form <noone@nowhere.com>
Subject: Feedback from the web

 Feedback from : Matt
 Comments:
 <dtml-var some_text>

<dtml-mime type=image/jpeg encode=base64 name=paris.jpg><dtml-var
"paris.data">
  </dtml-mime>


 </dtml-sendmail>

Matt


steve smith wrote:

> Anyone have any good, real-world examples using DTML-Sendmail tags? Would
> especially appreciate examples integrating SQL queries.
>
> Ta!
>
> Steve
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )