“An attempt was made to access a socket in a way forbidden by its access permissions” while using SMTP

后端 未结 7 1788
灰色年华
灰色年华 2020-11-29 07:19

I am trying to send an SMTP email when certain values in database crosses its threshold value.

I have already allowed ports 25,587 and 465 in the Windows firewall an

7条回答
  •  孤城傲影
    2020-11-29 08:06

    I had a same issue. It was working fine on the local machine but it had issues on the server. I have changed the SMTP setting. It works fine for me.

    If you're using GoDaddy Plesk Hosting, use the following SMTP details.

    Host = relay-hosting.secureserver.net
    Port = 25 
    

提交回复
热议问题