[Zope] Xron and sendmail tag
Robert Ln
soundhack@yahoo.com
Fri, 23 Feb 2001 02:21:17 -0500
Hi,
I'm working with Xron 0.0.9 and zope 2.2.2 on a linux machine.
I'm trying to do something pretty simple, have the xronmethod
send a short email:
(this is the body of the zronmethod)
<dtml-sendmail mailhost="MailHost">
To: soundhack@<target address>
From: mailman@<my linux box>
Subject: Test
Test
</dtml-sendmail>
----
This is what I get:
Traceback (innermost last):
File "/usr/local/zope/lib/python/Products/Xron/XronDTMLMethod.py",
line 132, in trigger
REQUEST=REQUEST, RESPONSE=RESPONSE, kw=kw)
File "/usr/local/zope-2.2.2/lib/python/OFS/DTMLMethod.py", line
172, in __call__
r=apply(HTML.__call__, (self, client, REQUEST), kw)
File "/usr/local/zope-
2.2.2/lib/python/DocumentTemplate/DT_String.py", line 528, in __call__
try: return render_blocks(self._v_blocks, md)
File "/usr/local/zope-
2.2.2/lib/python/Products/MailHost/SendMailTag.py", line 182, in
render
mhost=md[self.mailhost]
AttributeError: __call__
----
I dont think this is a permissions error, as I tried to set
the 'use mailhost services' wherever I found them. On the other
hand, I have not come across the 'AddXronDTMLMethods' permission.
Where is this located?
Thanks for any help!
Robert
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com