Python smtplib proxy support

前端 未结 4 906
野性不改
野性不改 2020-12-06 06:46

I would like to send email through a proxy.

My current implementation is as follows:

I connect to the smtp server with authentication. After I\'ve successfu

4条回答
  •  萌比男神i
    2020-12-06 07:21

    This code has earned from me. 1. The file name must not be email.py Rename file name for example emailSend.py 2. It is necessary to allow Google to send messages from unreliable sources.

提交回复
热议问题