Sendmail Errno[61] Connection Refused

前端 未结 7 1119
不思量自难忘°
不思量自难忘° 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:37

    Start a simple SMTP server with Python like so:

    python -m smtpd -n -c DebuggingServer localhost:1025
    

提交回复
热议问题