[Zope] mailhost localzone error

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


What version of Zope are you using? I seem to recall a bug fix for this
behavior a few months ago.

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