[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: [Zope] SV: [Zope] mailhost problem
From: "peter be" <peter () grenna ! net>
Date: 2000-05-31 21:15:23
[Download RAW message or body]
<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 )
>
_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic