a wrote: > where is the link > thanks a lot for your kind help > Larry Bates wrote: >> a wrote: >>> What is the best way to construct an email in python and also attach a >>> html file >>> >>> the html file to be attached is not on disk, but should be dynamically >>> constructed in the python script >>> >>> I want to attach the django debug error to an email and mail it to >>> myself whenever there is an error in the application >>> >>> thanks a lot >>> py >>> >> Here is a link to a class that will allow you to attach files. You >> can either write the HTML to a tempfile and attach or modify a >> little to accept a string or cstringIO object instead. Hope it >> helps. >> >> -Larry Bates > Sorry, Left off the link:
http://motion.sourceforge.net/related/send_jpg.py -- http://mail.python.org/mailman/listinfo/python-list