[Zope] mailhost localzone error

Chris Muldrow muldrow@mac.com
Wed, 12 Feb 2003 15:35:27 -0500


I had a memory, and found it from Lennart Regebro in January:

This is a known bug in Zope 2.6.0. Download a patch from
http://www.zope.org/Members/regebro/datetime_260_fix

If you are running 2.6.0, though, I'd upgrade to 2.6.1--lots of bug fixes
and such

On 2/12/03 3:27 PM, "AM" <list_subscriber@neurobs.com> wrote:

> When I try to use the following:
> 
> <dtml-sendmail mailhost="mail_host">
> To: list_subscriber@neurobs.com
> From: list_subscriber@neurobs.com
> Subject: test
> 
> Dear test,
> 
> You order number dadada is ready.
> Please pick it up at your soonest convenience.
> </dtml-sendmail>
> 
> 
> for my MailHost object mail_host I get the following:
> 
> 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 115, in render
>   * Module Products.MailHost.MailHost, line 123, in send
>   * Module Products.MailHost.MailHost, line 208, in _mungeHeaders
>   * Module DateTime.DateTime, line 1441, in rfc822
> 
> NameError: global name 'localzone' is not defined
> 
> Any ideas as what has gone wrong with my mailhost.
> 
> TIA
> AM