javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 8080, response: -1

Coderanch | Isaac Ferguson | 1 year ago
  1. 0

    Sending email error with the ports

    Coderanch | 1 year ago | Isaac Ferguson
    javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 8080, response: -1
  2. 0

    Problem sending mail via Exchange

    Coderanch | 4 years ago | Karsten Brondum
    javax.mail.MessagingException: Could not connect to SMTP host: (host).d k, port: 25, response: -1
  3. 0

    Cannot send e-mail notifications on jenkins

    Stack Overflow | 2 years ago | vjangra
    javax.mail.MessagingException: Could not connect to SMTP host:localhost, port: 25, response: 421
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.mail.MessagingException could not connect to SMTP host port :25 response -1

    Stack Overflow | 3 years ago | JaiK
    javax.mail.MessagingException: Could not connect to SMTP host: xxx.com, port: 25, response: -1
  6. 0

    javamail - 504 5.5.2 : Helo command rejected: need fully-qualified hostname

    Stack Overflow | 3 years ago | Rasoul Taheri
    javax.mail.MessagingException: 504 5.5.2 <rasta-PC>: Helo command rejected: need fully-qualified hostname

  1. Andreas Häber 4 times, last 2 months ago
  2. Tahir 2 times, last 2 months ago
  3. Tahir 767 times, last 2 months ago
  4. abrazeneb 102 times, last 4 months ago
27 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.MessagingException

    Could not connect to SMTP host: localhost, port: 8080, response: -1

    at com.sun.mail.smtp.SMTPTransport.openServer()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1960)
    2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)
    2 frames
  3. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:295)
    2. javax.mail.Service.connect(Service.java:176)
    3. javax.mail.Service.connect(Service.java:125)
    4. javax.mail.Transport.send0(Transport.java:194)
    5. javax.mail.Transport.send(Transport.java:124)
    5 frames
  4. emailsenden
    SendEmail.main
    1. emailsenden.SendEmail.main(SendEmail.java:60)
    1 frame