[ZCM] [ZC] 763/ 5 Comment "MailHost/Sendmail Tag broken"
Collector: Zope Bugs, Features, and Patches ...
zope-coders-admin@zope.org
Tue, 14 Jan 2003 04:58:45 -0500
Issue #763 Update (Comment) "MailHost/Sendmail Tag broken"
Status Accepted, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/763
==============================================================
= Comment - Entry #5 by ajung on Jan 14, 2003 4:58 am
This happens for me *with* a MailHost instance
________________________________________
= Assign - Entry #4 by regebro on Jan 14, 2003 4:43 am
Status: Pending => Accepted
Supporters added: regebro
Seems like this is what happens if you don't specify a smtphost and don't have a MailHost. I'll make sure there's a better error message.
________________________________________
= Comment - Entry #3 by ajung on Jan 10, 2003 1:08 pm
see version info ;-) (2.6)
________________________________________
= Comment - Entry #2 by chrisw on Jan 10, 2003 1:07 pm
What version of Zope is this?
________________________________________
= Request - Entry #1 by ajung on Jan 10, 2003 12:58 pm
The following DTML Method raises
Exception traceback
Time 2003/01/10 18:57:16.020 GMT+1
User Name (User Id) ajung (ajung)
Request URL http://yetix:8080/d1
Exception Type UnboundLocalError
Exception Value local variable 'mhost' referenced before assignment
Traceback (innermost last):
* Module ZPublisher.Publish, line 98, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module OFS.DTMLMethod, line 126, in __call__
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module Products.MailHost.SendMailTag, line 113, in render
UnboundLocalError: local variable 'mhost' referenced before assignment
--------------------------------
dtml-sendmail>
To: yet@gmx.de
Subject: Resume
<dtml-mime type="text/plain" encode="7bit">
Hi, please take a look at my resume.
</dtml-mime>
</dtml-sendmail>
==============================================================