to do a simple email program

Ryan Phillips ryan.phillips at csus.edu
Fri Jan 25 19:49:12 EST 2002


There is poplib, and smtplib found in the python library.  Sample code in
the docs.

http://www.python.org/doc/current/lib/lib.html

-ryan

"root" <aries at bitstream.net> wrote in message
news:3C51F0B6.D2F6FAA2 at bitstream.net...
>
> Hi python people,
>
> I am wanting to write a simple email program in python, is there a way
> I can use the standard unix - linux  "MAIL"  program for emailing out
> to people.    Or is there some other way  I should try.
>
> I want to have it simple.   Once I get the program going I will want to
> make it to put on the web:
> So a  cgi script in python  will  get the info from a html form.
> --like the  email  to  address
> -- the  email from address
> -- the subject of the email
> -- the message the person wants to send as an email
>
> and then  they would click  send on the html form
>
> which would call up this  python email script  ......
> and maybe somehow put the names and addresses into a mail
> using the  unix  MAIL program or some other  thing.
>
> Can someone help and guide me to where I should go to get more info
> or  some  example code !!!!!!!!!
>
> thanks,
> JJ
>





More information about the Python-list mailing list