[Zope] <dtml-sendmail> problems
Arpad Kiss
sekter@matavnet.hu
Sun, 23 Jan 2000 23:40:00 +0100
Hi,
You have to put an empty line before the message body, and I don't know
those quotation marks are needed or not. It works for me if I put a
simple email address without quotation marks after To:
Arpad
Stephen Pitts wrote:
>
> The following code generates an "SMTP Error 503: No receipients
> specified".
> <dtml-sendmail mailhost=mailhost>
> From: "<dtml-var from>"
> To: "<dtml-var firstname> <dtml-var lastname> <<dtml-var toemail>>"
> Subject: <dtml-var subject>
> <dtml-var messagebody>
> </dtml-sendmail>
>
> The variables are set as follows:
> from - "Stephen Pitts <smpitts@midsouth.rr.com>"
> firstname - "Stephen"
> lastname - "Pitts"
> toemail - "smpitts@midsouth.rr.com"
> subject - "Stuff"
> messagebody - "Enter your message body here"
>
> How can I fix the code so it sends a valid email? Does Zope not support
> To/From fields of the type "name email@address.com"?
> --
> Stephen Pitts
> smpitts@midsouth.rr.com
> webmaster - http://www.mschess.org
>
> _______________________________________________
> 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 )