Sorry about that. However you were right, once I called mailhost.send() directly it worked. I was actually calling a send script that verified an access code and then sent out the mail. Since as you said, proxy roles are not inherited they it never allowed it to execute. Thanks, AM Dieter Maurer wrote:
AM writes:
... Hopwever this specific script is can only be used by anonymous users. Please be more careful, when you describe problems.
I expect, you want to say: "this script must be callable by anonymous users". Right?
To facilitate the use I went into the proxy tab of the script management console and selected 'Authenticated' and saved the changes. However, it still kicks me to the login page when I try to use the script. One idea:
Proxy roles are not inherited by called objects. Thus, unless your script with the proxy role directly calls "mhost.send", the role will not be effective.
If this is not your problem, then cancel the login dialog and analyse the traceback in the resulting error page.
This supposes you are using basic authetication. When you are not, do it for analysing your problem...
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================