email modules and attachments that aren't there

Russell Bungay bigmaddrongo at yahoo.co.uk
Tue Jan 10 04:33:58 EST 2006


Hello,

>>     main_msg['Content-type'] = 'Multipart/mixed'
> Would it be the 'Content-Type' header?  I've no expertise in this, but
> doesn't 'multipart' mean 'has attachments'?

Brilliant, thank you.  A swift test on the number of attachments and 
changing the header suitably does the job.

Thank you for your help,

Russell
--
The Duck Quacks:
http://www-users.york.ac.uk/~rb502/ - Homepage
http://www-users.york.ac.uk/~rb502/blog/quack.shtml - Blog
http://www.flickr.com/photos/lsnduck/ - Photos



More information about the Python-list mailing list