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 <[EMAIL PROTECTED]>
From: Zope Feedback Form <[EMAIL PROTECTED]>
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  -  [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 )


_______________________________________________
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 )

Reply via email to