Sendmail Errno[61] Connection Refused

前端 未结 7 1116
不思量自难忘°
不思量自难忘° 2021-01-31 08:28

I\'ve been trying to get my application to mail some outputted text to an email. For simplification I have isolated the script :

import smtplib
import sys
import         


        
相关标签:
7条回答
  • 2021-01-31 08:43

    My guess is that you do not have any SMTP server installed on your local machine.

    If your emails are not sensitive, open a Gmail account and send your emails using it with Python.

    0 讨论(0)
提交回复
热议问题