23 Apr
2002
23 Apr
'02
8:05 p.m.
Markus Stoll writes:
we wrote an email form that performs a POST on a python script. This python script calls a dtml-method with the <dtml-sendmail>.
The dtml-sendmail does not find the MailHost if it is not in the same folder. So I have to create a separate MailHost in the same folder and everything is fine. Acquisition otherwise works fine, the standard_html_header is found and included.
So why does Acuqisition not work for dtml-sendmail? It does!
Why do you make a standard error? DTML objects want to be called with two positional arguments. Please read "Calling DTML objects" in <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter