GMail SMTP via C# .Net errors on all ports

前端 未结 7 1565
鱼传尺愫
鱼传尺愫 2020-11-27 17:35

I\'ve been trying for a whlie on this, and have so far been failing miserably. My most recent attempt was lifted from this stack code here: Sending email through Gmail SMT

7条回答
  •  一整个雨季
    2020-11-27 17:49

    Your private network's firewall blocked the ports 587 and 465. You can use default port 25 or enable there ports on firewall

提交回复
热议问题