Laurent Pointal laurent.pointal at
Thu Aug 2 22:06:23 CEST 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:



More information about the Python-list mailing list