[Zope] <dtml-sendmail>
Daniel Rusch
drusch@globalcrossing.com
Mon, 19 Mar 2001 09:08:48 -0600
I made a list called "to" use a dtml-in to iterate through it
HTH
Dan
<dtml-sendmail mailhost=3D"MailHost">=20
To:<dtml-in to><dtml-var sequence-item><dtml-if sequence-end>=20
</dtml-if></dtml-in>
From:<dtml-var from>
Subject: <dtml-var subject>=20
<dtml-mime type=3D"text/plain" encode=3D"7bit">
<dtml-boundary type=3D"text/plain" encode=3D"7bit">
<!--#var "message"-->
</dtml-mime>
</dtml-sendmail-->=20
Petr Knapek wrote:
>=20
> Hi Zopists,
>=20
> 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 addresse=
s
> in my dynamical list but do not know what the syntax of mailto attribut=
e
> in sendmail tag shoul be.
>=20
> I have tried: mailto=3Dmail_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.
>=20
> I use Zope 2.1.6
>=20
> Any idea, please help me.
>=20
> Petr
> --
> Petr Kn=E1pek
> 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
>=20
> _______________________________________________
> 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 )