Hi, When creating a form that sends mail I get a following error: STMPDataError Error Value: (554, 'No date field given') Any suggestions? (Sorry if it is obvious, but I'm not sure what goes wrong. I think that I have selected the right SMTP host). Many thanks, Agata
Add a date header to your message, some SMTP servers require it. In dtml... Date: <dtml-var "ZopeTime().rfc822()"> ----- Original Message ----- From: "Agata Cruickshank" <a.cruickshank@ccs.bbk.ac.uk> To: "zope" <zope@zope.org> Sent: Friday, February 01, 2002 8:25 AM Subject: [Zope] sendmail problem
Hi,
When creating a form that sends mail I get a following error:
STMPDataError Error Value: (554, 'No date field given')
Any suggestions? (Sorry if it is obvious, but I'm not sure what goes wrong. I think that I have selected the right SMTP host).
Many thanks, Agata
_______________________________________________ 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 )
Thank you very much - that solved the problem. Agata ----- Original Message ----- From: "Andy McKay" <andym@ActiveState.com> To: "Agata Cruickshank" <a.cruickshank@ccs.bbk.ac.uk>; "zope" <zope@zope.org> Sent: Friday, February 01, 2002 4:42 PM Subject: Re: [Zope] sendmail problem
Add a date header to your message, some SMTP servers require it. In dtml...
Date: <dtml-var "ZopeTime().rfc822()">
----- Original Message ----- From: "Agata Cruickshank" <a.cruickshank@ccs.bbk.ac.uk> To: "zope" <zope@zope.org> Sent: Friday, February 01, 2002 8:25 AM Subject: [Zope] sendmail problem
Hi,
When creating a form that sends mail I get a following error:
STMPDataError Error Value: (554, 'No date field given')
Any suggestions? (Sorry if it is obvious, but I'm not sure what goes wrong. I think that I have selected the right SMTP host).
Many thanks, Agata
_______________________________________________ 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 )
participants (2)
-
Agata Cruickshank -
Andy McKay