Email

Laurent Pointal laurent.pointal at wanadoo.fr
Thu Aug 2 16:06:23 EDT 2007


Rohan wrote:

> I was wondering if there could be an arrangement where a file could be
> attached and send as an email.
> For ex
> f = open(add.txt,w)
> f.write('python')
> f.close()
> 
> Now I would like to send an email with add.txt as an attachment, is it
> possible ?
> some one give me a pointer towards this.

You can use iMailer as an example script to get parts:

http://nojhan.free.fr/article.php3?id_article=22

A+

Laurent.




More information about the Python-list mailing list