Re: How to send an email with GMail in Python from Windows

2009-03-12 Thread gordyt
Howdy Avinash, Here is a simple example for you. from smtplib import SMTP HOST = "smtp.gmail.com" PORT = 587 ACCOUNT = ""# put your gmail email account here PASSWORD = "" # put your gmail email password here def send_email(to_addrs, subject, msg): server = SMTP(HOST,PORT) s

Re: How to send an email with GMail in Python from Windows

2009-03-12 Thread dorzey
You might want to try - http://libgmail.sourceforge.net/. This is a Python binding for GMail; I've used it a little and it did the job for me. Dorzey -- http://mail.python.org/mailman/listinfo/python-list

How to send an email with GMail in Python from Windows

2009-03-12 Thread ∂ √ ¡ ŋ ∂ ♪ ђ
Hi Can somebody help me with sending an email using Python from GMail Here's what I tried but it fails always. import smtplib import base64 smtpserver = 'smtp.gmail.com' AUTHREQUIRED = 0 # if you need to use SMTP AUTH set to 1 s