[Zope] use email package in zope

george donnelly list@zettai.net
Thu, 03 Jul 2003 10:37:35 +0000


[Dennis Allison wrote (allison@sumeru.stanford.EDU) on 7/3/03 3:11 PM]

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

This is the module I;m working with

http://mimelib.sourceforge.net/

and for future reference this is what i had to allow to get it to work

from Products.PythonScripts.Utility import allow_module

allow_module('email')
allow_module('email.Header')
allow_module('email.Message')
allow_module('email.Parser')

or at least just the email.Header, not sure yet.

<-->
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