pyTony
pyMod
6,330 posts since Apr 2010
Reputation Points: 879
Solved Threads: 989
Skill Endorsements: 27
I think your computer has not smtp server running but you must put in your Internet Service providers SMTP server information. From field could probably be faked, but replies would not arrive OK. Like some companies or mailing lists no_reply.... Email addresses. I try to take the code and let it transmit itself to you now that I dig up some stuff for gmail from net.
pyTony
pyMod
6,330 posts since Apr 2010
Reputation Points: 879
Solved Threads: 989
Skill Endorsements: 27
See the code snippet I posted. There was some issue with bytes trying to send the code of the program from Python3, so in snippet there is only simple built in string sent instead. Subject is left incorrectly sam as in message I sent to you. The program has the information how to use gmails SMTP, not ISP specific one.
pyTony
pyMod
6,330 posts since Apr 2010
Reputation Points: 879
Solved Threads: 989
Skill Endorsements: 27