There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to configure the server email ?.
    via by,
  • Javamail exception in maven project
    via Stack Overflow by user3026263
  • Can't send attachment using Java Mail
    via Stack Overflow by XXX
    • javax.mail.MessagingException: Could not connect to SMTP host:, port: 465; nested exception is: Connection refused at com.sun.mail.smtp.SMTPTransport.openServer( at com.sun.mail.smtp.SMTPTransport.protocolConnect( at javax.mail.Service.connect( at org.springframework.mail.javamail.JavaMailSenderImpl.doSend( at org.springframework.mail.javamail.JavaMailSenderImpl.send( at org.springframework.mail.javamail.JavaMailSenderImpl.send( at com.aa.meals.mail.MealsMailSenderBean.sendMail( at com.aa.common.log.TestMail.main(

    Users with the same issue

    767 times, last one,
    Unknown visitor1 times, last one,
    1 times, last one,
    Unknown visitor4 times, last one,
    Unknown visitor1 times, last one,
    26 more bugmates