cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP problems in CLM

former_member182305
Active Participant
0 Kudos

Hello experts,

I am having a problem sending mails from CLM.

i added the property hostname, in the value i set the name of the host CLM is supposed to connect to send mails but I am getting the next error:

javax.mail.AuthenticationFailedException

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:140)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMessages(ScheduleMailEventDaemon.java:521)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMail(ScheduleMailEventDaemon.java:270)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.processHook(ScheduleMailEventDaemon.java:206)
at com.sap.odp.comp.daemon.AbsTransientEventDaemon.process(AbsTransientEventDaemon.java:85)
at com.sap.odp.comp.daemon.ResponsibleTransientEventDaemon.process(ResponsibleTransientEventDaemon.java:167)
at com.sap.odp.comp.daemon.SystemEventServiceManager$TransientEventExecutor.run(SystemEventServiceManager.java:1937)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util....

I assumed that i would need a username and password, so i asked for a Username and password, i added the properties for user name and password and i set the values i also set the port to 25 just in case.

but once i did that i get the next error checking the Background Tasks:

javax.mail.MessagingException: Unknown SMTP host: wpexchc26dti2.colsubsidio.com;
nested exception is:
java.net.UnknownHostException: wpexchc26dti2.colsubsidio.com

javax.mail.MessagingException: Unknown SMTP host: <name of the host>";
nested exception is:
java.net.UnknownHostException: <name of the host>
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1389)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:310)
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:140)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMessages(ScheduleMailEventDaemon.java:521)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.sendMail(ScheduleMailEventDaemon.java:270)
at com.sap.odp.comp.messaging.daemon.ScheduleMailEventDaemon.processHook(ScheduleMailEventDaemon.java:206)
at com.sap.odp.comp.daemon.AbsTransientEventDaemon.process(AbsTransientEventDaemon.java:85)
at com.sap.odp.comp...

Properties

Am i doing the configuration wrong or it is SMTP server problem??

Thank you for your answers

Kind regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182305
Active Participant
0 Kudos

This was solved, the configuration was ok, it was problems with the SMTP configuration, there was no access to the CLM server to send mails. A user and pass was created for CLM with default port 25. There was no need on including the property for the port.

Kind Regards.