Open RunningUtes opened 2 years ago
I've never used this module, but it looks like you're connecting to the server localhost
, i.e. the iPhone or iPad you're running Vim on. This is not an SMTP server, and so it rejects your attempt to connect to it.
You likely need to enter the address of an actual SMTP server into your call to smtplib.SMTP()
.
I was testing the python command in terminal and had an error. Any ideas why the smtp connection would be refused?
Code: testing.py
Output: