Hi, I am still having problems. I have set Use mailhost services to anonymous manager owner and my new role auth_app. Under the mailhost security, I have "acquire permission settings? set and the other options unchecked. Even though I have logged in the call to the sendmail routine prompts me again for user name and password but it does not accept it. This is error message: Traceback (innermost last): File C:\Program Files\proton\lib\python\ZPublisher\Publish.py, line 150, in publish_module File C:\Program Files\proton\lib\python\ZPublisher\Publish.py, line 114, in publish File C:\PROGRA~1\proton\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: capa_parte) File C:\Program Files\proton\lib\python\ZPublisher\Publish.py, line 98, in publish File C:\PROGRA~1\proton\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: update_mgr_capa_parte_info) File C:\Program Files\proton\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: update_mgr_capa_parte_info) File C:\PROGRA~1\proton\lib\python\OFS\DTMLDocument.py, line 127, in __call__ (Object: update_mgr_capa_parte_info) File C:\PROGRA~1\proton\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: update_mgr_capa_parte_info) File C:\PROGRA~1\proton\lib\python\OFS\DTMLMethod.py, line 120, in __call__ (Object: update_capa_parte_send_mail) File C:\PROGRA~1\proton\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: update_capa_parte_send_mail) File C:\PROGRA~1\proton\lib\python\DocumentTemplate\DT_Let.py, line 76, in render (Object: sender="'lmcdonnell@protonenergy.com'") File C:\PROGRA~1\proton\lib\python\Products\MailHost\SendMailTag.py, line 110, in render (Object: MailHost) File C:\PROGRA~1\proton\lib\python\AccessControl\DTML.py, line 29, in guarded_getattr (Object: update_mgr_capa_parte_info) File C:\PROGRA~1\proton\lib\python\AccessControl\ZopeGuards.py, line 58, in guarded_getattr (Object: capa_parte) File C:\PROGRA~1\proton\lib\python\AccessControl\ZopeGuards.py, line 40, in aq_validate (Object: capa_parte) File C:\PROGRA~1\proton\lib\python\AccessControl\SecurityManager.py, line 83, in validate File C:\PROGRA~1\proton\lib\python\AccessControl\ZopeSecurityPolicy.py, line 188, in validate Unauthorized: (see above) Thanks. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of AM Sent: Monday, October 07, 2002 7:27 PM To: McDonnell, Larry Cc: 'Zope@Zope. Org' (E-mail) Subject: Re: [Zope] Security Question check the security settings of the mailhost object or the use mailhost services security options in the folder you are using it in. hth AM McDonnell, Larry wrote:
Hi, I set two folders with acl access. When the authorized user clicks on the link, Username and password appear as I expected. Once the transaction is complete I send an email to a specific user to let them know there has been some activity in their database. The email works on the the no-security folders but now I see this error message. Error Type: Unauthorized Error Value: You are not allowed to access MailHost in this context
Any thing I am missing? The sendmail call looks as follows: <dtml-call "REQUEST.set('originator', REQUEST.SESSION['originator'])"> <dtml-call "REQUEST.set('capa_report_no', REQUEST.SESSION['capa_report_no'])"> <dtml-let sender="'lmcdonnell@protonenergy.com'" > <dtml-sendmail mailhost="MailHost"> To: <dtml-var sender>, From: <dtml-var sender> Subject: Corrective Action Report Update <dtml-var capa_report_no>
A Corrective Action Report- <dtml-var capa_report_no> has been updated. Please review the report. </dtml-sendmail> </dtml-let>
Thanks
Larry McDonnell
Proton Energy Systems 50 Inwood Rd. Rocky Hill, CT 06067 (860) 571-6533 ext. 531 Email:lmcdonnell@protonenergy.com www.protonenergy.com
_______________________________________________ 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 ================================================================== _______________________________________________ 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 )
participants (1)
-
McDonnell, Larry