javax.mail.MessagingException: Could not connect to SMTP host: COMPANYNAME blsmtp. COMPANYNAME .com, port: 25, response: 421

Oracle Community | Lasya Narasimham | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Send Mail step Failing

    Oracle Community | 12 months ago | Lasya Narasimham
    javax.mail.MessagingException: Could not connect to SMTP host: COMPANYNAME blsmtp. COMPANYNAME .com, port: 25, response: 421
  2. 0

    Could not connect to SMTP host: 10.0.1.9, port: 80, response: -1 when sending email through java

    Stack Overflow | 3 years ago | user3349997
    javax.mail.MessagingException: Could not connect to SMTP host: 10.0.1.9, port: 80, response: -1
  3. 0

    sending email using java with javamail

    Stack Overflow | 3 years ago | KodeSeeker
    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

    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
  6. 0

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

    Stack Overflow | 4 years ago | JaiK
    javax.mail.MessagingException: Could not connect to SMTP host: xxx.com, port: 25, response: -1
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: COMPANYNAME blsmtp. COMPANYNAME .com, port: 25, response: 421

    at com.sun.mail.smtp.SMTPTransport.openServer()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
    2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
    2 frames
  3. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:275)
    2. javax.mail.Service.connect(Service.java:156)
    3. javax.mail.Service.connect(Service.java:105)
    4. javax.mail.Transport.send0(Transport.java:168)
    5. javax.mail.Transport.send(Transport.java:98)
    5 frames
  4. com.sunopsis.dwg
    SnpSessTaskSql.executeOdiCommand
    1. com.sunopsis.dwg.tools.SendMail.actionExecute(SendMail.java:172)
    2. com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:276)
    3. com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3430)
    4. com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1491)
    4 frames
  5. oracle.odi.runtime
    TaskExecutionHandler.handleTask
    1. oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
    2. oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
    3. oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    3 frames
  6. com.sunopsis.dwg
    SnpSession.treatSession
    1. com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    2. com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    3. com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    4. com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    5. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    6. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1595)
    6 frames
  7. oracle.odi.runtime
    StartScenRequestProcessor$2.doAction
    1. oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
    1 frame
  8. oracle.odi.core
    DwgObjectTemplate.execute
    1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    1 frame
  9. oracle.odi.runtime
    DefaultAgentTaskExecutor$1.run
    1. oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
    2. oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1070)
    3. oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    4. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:49)
    4 frames
  10. Spring Core
    SyncTaskExecutor.execute
    1. org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
    1 frame
  11. oracle.odi.runtime
    InternalRuntimeAgent.startScenario
    1. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:41)
    2. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:92)
    3. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:83)
    4. oracle.odi.runtime.agent.RuntimeAgent.startScenario(RuntimeAgent.java:777)
    5. oracle.odi.runtime.agent.InternalRuntimeAgent.startScenario(InternalRuntimeAgent.java:52)
    5 frames
  12. com.sunopsis.dwg
    SnpSessTaskSql.executeOdiCommand
    1. com.sunopsis.dwg.tools.StartScen.startScenOnLocalAgent(StartScen.java:994)
    2. com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java:242)
    3. com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:162)
    4. com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3430)
    5. com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1491)
    5 frames
  13. oracle.odi.runtime
    TaskExecutionHandler.handleTask
    1. oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
    2. oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
    3. oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    3 frames
  14. com.sunopsis.dwg
    SnpSession.treatSession
    1. com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    2. com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    3. com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    4. com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    5. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    6. com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1595)
    6 frames
  15. oracle.odi.runtime
    StartScenRequestProcessor$2.doAction
    1. oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
    1 frame
  16. oracle.odi.core
    DwgObjectTemplate.execute
    1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    1 frame
  17. oracle.odi.runtime
    DefaultAgentTaskExecutor$1.run
    1. oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
    2. oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1070)
    3. oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    4. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$1.run(DefaultAgentTaskExecutor.java:49)
    4 frames
  18. Spring Core
    SyncTaskExecutor.execute
    1. org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
    1 frame
  19. oracle.odi.runtime
    RuntimeAgent.startScenario
    1. oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor.executeAgentTask(DefaultAgentTaskExecutor.java:41)
    2. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doExecuteAgentTask(TaskExecutorAgentRequestProcessor.java:92)
    3. oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.process(TaskExecutorAgentRequestProcessor.java:83)
    4. oracle.odi.runtime.agent.RuntimeAgent.startScenario(RuntimeAgent.java:402)
    4 frames
  20. oracle.odi
    StartScen.main
    1. oracle.odi.StartScen.run(StartScen.java:202)
    2. oracle.odi.StartScen.main(StartScen.java:317)
    2 frames