How to send output from a python script to an email address

后端 未结 6 773
野性不改
野性不改 2021-02-05 22:38

I have a threaded python script that pings 20 nodes on a local area network, and prints out the status of each: Node is Alive, Node is Down, etc.. I would like to have this outp

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-05 23:05

    You need a SMTP server to send Email. Check out the smtplib for Python

提交回复
热议问题