Trying to execute the following code from a python script

from smtplib import SMTP
from email.MIMEText import MIMEText

I get a error:

*Error Type: ImportError*
*Error Value: import of "SMTP" from "smtplib" is unauthorized. You are not allowed to access 'SMTP' in this context
Why I can't access SMTP if I am a user manager with all the access enabled for managers in the current context ?
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to