SMTP error: “Client does not have permission to submit mail to this server”

后端 未结 2 1458
無奈伤痛
無奈伤痛 2021-01-18 15:50

I\'m getting the following error while sending email. What could be the cause?

Client does not have permission to submit mail to this server. The s

相关标签:
2条回答
  • 2021-01-18 16:10

    It appears you are using an SSL/TLS connection to send the mail message, however it appears for some reason that the code is sending the request to open the connection twice which is not valid. Hard to tell just from the exception and stack what the problem is. Post the sending code if possible.

    0 讨论(0)
  • 2021-01-18 16:15

    Perhaps the SMTP server requires authentication (username / password) and you don't supply them? (Just a guess)

    0 讨论(0)
提交回复
热议问题