Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

后端 未结 5 1152
一个人的身影
一个人的身影 2020-12-03 17:03

while sending mail I am getting this error

java.lang.RuntimeException: javax.mail.SendFailedException: Sending failed; nested exception is: cla

5条回答
  •  星月不相逢
    2020-12-03 17:40

    In my case it was Avast Antivirus interfering with the connection. Actions to disable this feature: Avast -> Settings-> Components -> Mail Shield (Customize) -> SSL scanning -> uncheck "Scan SSL connections".

提交回复
热议问题