[Zope] a different sendmail tag problem

Russell Hires rhires@earthlink.net
Mon, 14 Oct 2002 23:44:11 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 14 October 2002 23:23 pm, Dennis Allison wrote:
> Do you have a mail host object accessible from the method
> which includes the <dtml-sendmail> tag.

Yes. It's in the same folder as the sendmail_test dtml-method. But do I need 
to do something else to it?

Russell

> > I've watched the "Bug in Sendmail tag" thread, but it wasn't about my
> > problem...
> >
> > This is the error message I get when I put this code [1] into the zmi
> > then try to save it [2]. What exactly is going on here? How do I fix
> > this?
> >
> > Thanks for any help you can provide...
> >
> > Russell
> >
> > [1]
> > <dtml-sendmail>
> > To:me@localhost
> > Subject: big test
> >
> > does it work?
> > </dtml-sendmail>
> >
> >
> > [2]
> > Zope Error
> >
> > Zope has encountered an error while publishing this resource.
> >
> > Error Type: UnboundLocalError
> >  Error Value: local variable 'mhost' referenced before assignment

- -- 
Linux -- the OS for the Renaissance Man 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9q48LAqKGrvVshJQRAqVsAJ9vwMqDWfk/IN+EnE36V6aykmW5PgCfWyWz
l1mcDNqtb21WkVVLrn5DhpQ=
=vJPp
-----END PGP SIGNATURE-----