<untested>
Isn't it supposed to be: 
To: Nameof Persontosendto <[EMAIL PROTECTED]>
Instead of:
To: <dtml-var account>
</untested>

This can be used in conjunction with variables; for example:
<dtml-call "REQUEST.set('name','Name Person')">
<dtml-call "REQUEST.set('email','[EMAIL PROTECTED]')">

<sendmail>
To: <dtml-var name> <<dtml-var email>>
</sendmail>
I use that on my Zope site, and it works fine.

----- Original Message ----- 
From: Graham Chiu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 31, 2000 8:11 PM
Subject: Re: [Zope] mailhost problem


> In article <[EMAIL PROTECTED]>, Mike Mikkelsen
> <[EMAIL PROTECTED]> writes
> ><dtml-in select_Get_Account>  (the select statement *is* returning the correct
> >account)
> >       <dtml-sendmail mailhost="MailHost">
> >       To: <dtml-var account> 
> >       From: <do_not_reply@somebodycom>
> >       Subject: Mailing Back Password
> >
> >       Your password is <B><dtml-var passwd></B>.
> >
> >       Thank you for shopping at sombody!
> >       </dtml-sendmail>
> >
> >       Your password has been mailed to <dtml-var account>.
> ><dtml-else>
> >       blah blah blah
> ></dtml-in>
> 
> Try removing all whitespace before the headers To: ,From:
> -- 
> Regards,  Graham Chiu
> gchiu<at>compkarori.co.nz
> http://www.compkarori.co.nz/index.php
> Powered by Interbase and 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 )
> 


_______________________________________________
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