Highlighted
Absent Member.
Absent Member.
790 views

SM emailout process could not connect to SMTP

Hi Expert, 

 

I just ping the SMTP and make the telnet command and smtp server is pingable and accessable. 

but starting the emailout from SM gave me the error below. 

 

Any help!!!

 

 

4556( 1344) 10/07/2015 08:43:08 JRTE E Unable to connect to mail [server]:port [10.10.2.16]:25
javax.mail.MessagingException: Could not connect to SMTP host: 10.10.2.16, port: 25, response: -1
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.connectToMailServer(MailSessionImpl.java:284)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.sendInner(MailSessionImpl.java:636)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.sendMail(MailSessionImpl.java:603)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.access$000(MailSessionImpl.java:53)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$EmailTask.process(MailSessionImpl.java:782)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$MailThread.handleTask(MailSessionImpl.java:929)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$MailThread.process(MailSessionImpl.java:918)
at com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$MailThread.run(MailSessionImpl.java:858)
at java.lang.Thread.run(Unknown Source)
4556( 1344) 10/07/2015 08:43:08 com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
4556( 1344) 10/07/2015 08:43:08 com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
4556( 1344) 10/07/2015 08:43:08 javax.mail.Service.connect(Service.java:275)
4556( 1344) 10/07/2015 08:43:08 javax.mail.Service.connect(Service.java:156)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.connectToMailServer(MailSessionImpl.java:284)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.sendInner(MailSessionImpl.java:636)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.sendMail(MailSessionImpl.java:603)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl.access$000(MailSessionImpl.java:53)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$EmailTask.process(MailSessionImpl.java:782)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$MailThread.handleTask(MailSessionImpl.java:929)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$MailThread.process(MailSessionImpl.java:918)
4556( 1344) 10/07/2015 08:43:08 com.hp.ov.sm.server.utility.htmlemail.impl.MailSessionImpl$MailThread.run(MailSessionImpl.java:858)
4556( 1344) 10/07/2015 08:43:08 java.lang.Thread.run(Unknown Source)

Tags (1)
0 Likes
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: SM emailout process could not connect to SMTP

Hi,

 

Could you please upload the complete log? 

 

Whe you tested the connection to the smtp server trough port 25 you got the 220 response from the server. Didn't you?

 

Regards,

If you feel this was helpful please click the KUDOS! thumb below!
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: SM emailout process could not connect to SMTP

To be sure are you pinging the SMTP server from the same machine where you're starting Service Manager Javamail?

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: SM emailout process could not connect to SMTP

Are you using Connect IT ??

Thanks,

Deepesh
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.