javax.mail.AuthenticationFailedException

Stack Overflow | user3603437 | 11 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    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.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Sending the email to the following server failed : smtp.gmail.com:25

    Stack Overflow | 4 years ago | Ramprasad
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:25

    13 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.mail.AuthenticationFailedException

      No message provided

      at javax.mail.Service.connect()
    2. JavaMail API
      Transport.send
      1. javax.mail.Service.connect(Service.java:319)
      2. javax.mail.Service.connect(Service.java:169)
      3. javax.mail.Service.connect(Service.java:118)
      4. javax.mail.Transport.send0(Transport.java:188)
      5. javax.mail.Transport.send(Transport.java:118)
      5 frames
    3. queens.feedback
      BackgroundMail$SendEmailTask.doInBackground
      1. queens.feedback.GmailSender.sendMail(GmailSender.java:84)
      2. queens.feedback.BackgroundMail$SendEmailTask.doInBackground(BackgroundMail.java:233)
      3. queens.feedback.BackgroundMail$SendEmailTask.doInBackground(BackgroundMail.java:208)
      3 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:295)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    6. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames