prakash jp gmail.com> writes:
> Hi all,
>
> In windows environment, how to send email from one gmail address to another
gmail (or another mail) addrress
>
>
Gmail requires SSL smtp support which is missing in Python stdlib. However, you
can look at this example (http://www.example-code.com/p
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 >
Hi Prakash,
You need to tell the system your smtp host...
ie
> server = smtplib.SMTP('localhost')
needs to read something like
server = smtplib.SMTP('smtp.myisp.in')
On Mon, 30 Mar 2009 08:58:49 +0530, prakash jp
wrote:
> preexistant code :
>
> import sys, smtplib
> import string
> froma
preexistant code :
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
2009/3/29 prakash jp :
In windows environment, how to send email from one gmail address to another
gmail (or another mail) addrress
On 3/29/2009 10:20 PM Chris Rebert apparently wrote:
Use the `smtplib` and `email` standard libraries (which, as a bonus,
are cross-platform):
http://docs.python
2009/3/29 prakash jp :
> Hi all,
>
> In windows environment, how to send email from one gmail address to another
> gmail (or another mail) addrress
Use the `smtplib` and `email` standard libraries (which, as a bonus,
are cross-platform):
http://docs.python.org/library/smtplib.html
http://docs.pyth
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