nope not successful. DO let me know the usage of: #From : prakash.st...@gmail.com #To: prakash.st...@gmail.com
import sys, smtplib import string fromaddr = raw_input("From: ") toaddrs = string.splitfields(raw_input("To: "), ',') print "Enter message, end with ^D:" msg = '' count = 3 while count > 0: line = sys.stdin.readline() #if not line: # break msg = msg + line count = count -1 # The actual mail send server = smtplib.SMTP('localhost') server.sendmail(fromaddr, toaddrs, msg) server.quit() #pls define the usage On Mon, Mar 30, 2009 at 7:40 AM, prakash jp <prakash.st...@gmail.com> wrote: > Hi all, > > In windows environment, how to send email from one gmail address to another > gmail (or another mail) addrress > > > Regards > Prakash >
-- http://mail.python.org/mailman/listinfo/python-list