Could not connect to SMTP host: email-smtp.us-east-1.amazonaws.com, port: 465, response: -1

前端 未结 7 1329
予麋鹿
予麋鹿 2020-12-14 10:36

I am trying to send email with Amazon\'s SES/SMTP and I am getting the following error:

javax.mail.MessagingException: Could not connect to SMTP host: em

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 11:23

    With amazon SES, configuration needs to be as follows:

    true    
    true
    

    instead of:

    true
    true 
    

    as hinted by dave.

    EDIT: Please use this solution: https://stackoverflow.com/a/8928559/536299

提交回复
热议问题