a different sendmail tag problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, 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 iD8DBQE9q4KgAqKGrvVshJQRAkwGAJ9cZkViwhAAQz6m4JOiJ2crNyOhhQCfawln CAARPcD9sziJyx0gwvcFUkA= =UHoe -----END PGP SIGNATURE-----
Hi Russell, I'm not a sendmail expert, but I figured you need to add a mailhost or smtphost attribute. So I tried your code and got the same error. Then added a mailhost attribute and got a different error. Added a 'From:' field and got myself a brand new message with: <dtml-sendmail mailhost="MailHost"> To:brabander@fsw.leidenuniv.nl From:brabander@fsw.leidenuniv.nl Subject:big test does it work? </dtml-sendmail> cheers, cb ----- Original Message ----- From: "Russell Hires" <rhires@earthlink.net> To: <zope@zope.org> Sent: Tuesday, October 15, 2002 4:51 AM Subject: [Zope] a different sendmail tag problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
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
iD8DBQE9q4KgAqKGrvVshJQRAkwGAJ9cZkViwhAAQz6m4JOiJ2crNyOhhQCfawln CAARPcD9sziJyx0gwvcFUkA= =UHoe -----END PGP SIGNATURE-----
participants (2)
-
Cornelis J. de Brabander -
Russell Hires