Re: Sending Email using examples From Tutorials

2018-01-28 Thread Skip Montanaro
Your code is fine, ... In addition to what Jason wrote, note that the way you need to authenticate to most email servers has changed substantially since this tutorial example was written. The OP has a yahoo.com email address. Even assuming you used something like smtp.yahoo.com as the SMTP server

Re: Sending Email using examples From Tutorials

2018-01-27 Thread Jason Friedman
> > import smtplib > server = smtplib.SMTP('localhost') > server.sendmail('gg77gal...@yahoo.com', > """To: gg.gal...@gmail.com > From: gg77gal...@yahoo.com > > Beware the Ides of March. > """) > server.quit() > > when running this I get the following message. Please help: > > Traceback (most recent

Sending Email using examples From Tutorials

2018-01-27 Thread Gg Galvez
I am having difficulty getting the python script to send an email to work. Here is the code I use from among a number of other examples which I used. The only changes I made were the email addresses, so I can see the result if it works. If you have any suggestions, please email your reply also t