Email

Rohan vodela.sai at gmail.com
Tue Aug 7 18:11:01 EDT 2007


On Aug 3, 7:22 pm, SMERSH009 <SMERSH0... at gmail.com> wrote:
> On Aug 3, 9:47 am,Rohan<vodela.... at gmail.com> wrote:
>
>
>
> > On Aug 2, 1:06 pm, Laurent Pointal <laurent.poin... at wanadoo.fr> wrote:
>
> > >Rohanwrote:
> > > > 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.
>
> > Laurent the link you gave me is in a language unknown to me if you
> > have anything that expalains in english, then let me know.
> > thanks
>
> Did you try Google translate?  Here is the tiny url of the page you
> wanted translatedhttp://tinyurl.com/3xlcmc

Thanks everyone,
I'm able to write a script which reads the file and puts it in the
message. I would like to attach the file is it possible?




More information about the Python-list mailing list