Why Can't I Send A Mail To Myself Using Python Smtplib?
I am using this code taken from here: import smtplib def prompt(prompt): return raw_input(prompt).strip() fromaddr = prompt('From: ') toaddrs = prompt('To: ').split() print
Solution 1:
You're not running SMTP server on your machine.
see: No connection could be made because the target machine actively refused it
Post a Comment for "Why Can't I Send A Mail To Myself Using Python Smtplib?"