AW: [Zope] Problem with dtml-sendmail
Markus Stoll
markus.stoll@junidas.de
Wed, 24 Apr 2002 10:12:47 +0200
>> 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
thanks for your input, but thats what I tried.
in the python script I call the DTML method as follows:
from python script "send":
return container.sendReal(context, context.REQUEST, sender=3Dsender, =
rlist=3Drlist, [... further arguments])
in the DTML Method "sendReal":
<dtml-var standard_html_header>
is found and included
but=20
<dtml-sendmail mailhost=3D"MailHost">
generates a "Error Type: KeyError", "Error Value: MailHost"
though MailHost and standard_html_header are located in the very
same folder.
Im am still puzzled.
Markus