using smtp in python

ashikbekal at gmail.com ashikbekal at gmail.com
Tue Oct 22 14:00:08 EDT 2013


I'm trying to send an email using python. The mail content is taken from file and subject of the mail is name of the file. The program is invoked as 
    ./mailclient.py -f <from email address> -d <recipient email address> -i <file1> -s <server IP address>
.
How to i use server ip address and the mail id to send the email ? (would i require the password)



More information about the Python-list mailing list