[Zope] use email package in zope

Dennis Allison allison@sumeru.stanford.EDU
Thu, 3 Jul 2003 08:11:16 -0700 (PDT)


Umm.. isn't the module name "smtplib"?

On Thu, 3 Jul 2003, george donnelly wrote:

> [Sergey Volobuev wrote (zope@phpv.khv.ru) on 7/3/03 3:55 AM]
> 
> >> I'd like to be able to use the email python module (already installed in
> > my
> >> zope's python) from a python script in zope. of course i get unathorized
> >> errors.
> > 
> > Read the README.txt from Products/PythonScripts
> 
> thank, yes i tried that. I started over again and i still get this error:
> 
> import of "email.Message" is unauthorized
> 
> here is my GlobalModules __init__.py:
> 
> # Global module assertions for Python scripts
> from Products.PythonScripts.Utility import allow_module
> 
> allow_module('email')
> 
> any ideas?
> 
> <-->
> george donnelly - http://www.zettai.net/ - "Quality Zope Hosting"
> Zope Hosting - Dynamic Website Design - Search Engine Promotion
> Yahoo, AIM: zettainet - MSN: zettainet@hotmail.com - ICQ: 51907738
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>