[Zope] dtml-sendmail problems - it's a bug

Graham Chiu anon_emouse@hotmail.com
Sun, 12 Dec 1999 21:29:28 +1200


In article <zKKH+LA9D2U4Ew+c@compkarori.com>, Graham Chiu
<anon_emouse@hotmail.com> writes
>If I send it this way instead ...
>
><dmtl-sendmail smtphost="mail.whatever.com">
>To: <<dtml-var EMAIL>>
>From: <me@whatever.com>
>Subject: "this is the subject"
>
>body
></dtml-sendmail>
>
>then I get the following error - spelling mistake and all
>
>Recieved error code 553 from SMTP: 553 ... Domain name required.

Okay, sussed it out eventually.  There seems to be a bug or undocumented
requirement in doing it this way.  There can be no leading spaces in
front of the To: header line.

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.com/dynamo - The Homebuilt Dynamo
http://www.compkarori.com/dbase - The dBase bulletin