MailConnectException: Couldn't connect to host, port: smtp.sendgrid.net

后端 未结 3 690
执笔经年
执笔经年 2020-12-12 04:43

I have created API key for sendGrid:

I have following spring mail configuration:

spring.mail.default-encoding=UTF-8
spring.mail.host=smtp.se         


        
3条回答
  •  庸人自扰
    2020-12-12 05:04

    There is a probability that SendGrid SMTP servers are not discoverable in your country. try a proxy or VPN.

提交回复
热议问题