[Zope] SV: [Zope] mailhost problem
peter be
peter@grenna.net
Wed, 31 May 2000 22:15:23 +0100
<untested>
Isn't it supposed to be:
To: Nameof Persontosendto <name@server.com>
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','name@person.com')">
<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 <anon_emouse@hotmail.com>
To: <zope@zope.org>
Sent: Wednesday, May 31, 2000 8:11 PM
Subject: Re: [Zope] mailhost problem
> In article <00053110520501.00668@mikk.microbsys.com>, Mike Mikkelsen
> <mikk@microbsys.com> 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 - 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 )
>