I made a list called "to" use a dtml-in to iterate through it HTH Dan <dtml-sendmail mailhost="MailHost"> To:<dtml-in to><dtml-var sequence-item><dtml-if sequence-end> </dtml-if></dtml-in> From:<dtml-var from> Subject: <dtml-var subject> <dtml-mime type="text/plain" encode="7bit"> <dtml-boundary type="text/plain" encode="7bit"> <!--#var "message"--> </dtml-mime> </dtml-sendmail--> Petr Knapek wrote:
Hi Zopists,
I have a list of user e-mail addresses which is created dynamically. I would like to use <dtml-sendmail> tag to send an e-mail at all addresses in my dynamical list but do not know what the syntax of mailto attribute in sendmail tag shoul be.
I have tried: mailto=mail_list (mail_list is list the list of e-mail addresses) but it doesn't work. And when I tried to create To: header dynamically then some error that RCPT is missing has appeared.
I use Zope 2.1.6
Any idea, please help me.
Petr -- Petr Knápek NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic e-mail: mailto:petr.knapek@nextra.cz tel:+420-5-43 554 150 FAX:+420-5-43 554 214
_______________________________________________ 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 )