Re: error while writing program to send mail.

2014-09-01 Thread Om Prakash
On 09/02/2014 05:29 AM, MRAB wrote: On 2014-09-02 00:35, Om Prakash wrote: Hi, I am writing this program from https://docs.python.org/2/library/email-examples.html but getting the error as singhom@debian:~/pythons$ python send_email.py Traceback (most recent call last): File

Define proxy in windows 7

2014-09-01 Thread Om Prakash
cmd.exe prompt. set http_proxy "proxy name:80" P.S. i am a normal user and don't have admin privleges. Regards, Om Prakash -- https://mail.python.org/mailman/listinfo/python-list

error while writing program to send mail.

2014-09-01 Thread Om Prakash
Hi, I am writing this program from https://docs.python.org/2/library/email-examples.html but getting the error as singhom@debian:~/pythons$ python send_email.py Traceback (most recent call last): File "send_email.py", line 18, in msg['Subject'] = 'The contents of $s' % message NameErr