javax.mail.AuthenticationFailedException

Exception #2886650

Samebug tips1

Check if all the configurations are right. Double check if the email protocol you're using is the right one for your email service, and if the port, host address, username and password are all correct.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web238

  • via Unknown by sigbj,
  • Stack trace

    • javax.mail.AuthenticationFailedException at hk.hku.cecid.ebms.spa.task.OutboxTask.sendMsgBySmtp(OutboxTask.java:683) at hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:448) at hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90) at java.lang.Thread.run(Thread.java:636) Caused by: hk.hku.cecid.piazza.commons.net.ConnectionException: Unable to send SMTP message by javax.mail.AuthenticationFailedException at hk.hku.cecid.piazza.commons.net.MailSender.send(MailSender.java:182) at hk.hku.cecid.ebms.spa.task.OutboxTask.sendMsgBySmtp(OutboxTask.java:679) ... 3 more Caused by: javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:319) at javax.mail.Service.connect(Service.java:169) at javax.mail.Service.connect(Service.java:118) at javax.mail.Transport.send0(Transport.java:188) at javax.mail.Transport.send(Transport.java:118) at hk.hku.cecid.piazza.commons.net.MailSender.send(MailSender.java:179) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    16 more bugmates