IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  SMTP configuration

    Posted 09/26/17 07:53 AM

    Hi,

    I am trying to send an email to my gmail account through pub:client:smtp.

    Iam running the pub:client:smtp service with the following inputs:

    To: xxxxx@gmail.com
    Subject: testing smtp
    mailhost: smtp.gmail.com
    mailhostPort: 465
    user: xxxxx@gmail.com (my gmail id)
    pass: xxxxxxxxxx (my gmail password)
    TLS: none

    when I run the service with above inputs, Iam getting the below error:

    Could not run ‘smtp’
    com.wm.app.b2b.server.ServiceException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1

    com.wm.app.b2b.server.ServiceException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
    at pub.clientimpl.smtp(clientimpl.java:451)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)

    Are these the right inputs which I have passed?
    Are there any other configuration needs to be done from IS server page or gmail setting?

    Please help.

    Thanks.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: SMTP configuration

    Posted 09/26/17 02:36 PM

    Hi,

    you should enable SSL/TLS for this invocation.

    Eventually you have to use another port.

    See https://gmail-blog.de/gmail-einstellungen-fur-imap-pop3-und-smtp/ for details.
    Unfortunately this site is in german, but I am sure that there is an english equivalent available.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 3.  RE: SMTP configuration

    Posted 09/27/17 05:03 AM

    TLS Implicit/Explicit?? which one are we supposed to use?


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: SMTP configuration

    Posted 10/27/17 02:53 AM


  • 5.  RE: SMTP configuration

    Posted 03/06/18 01:22 AM

    Hi, Techie Webm! Were you able to send an email using the pub:client:smtp?
    I am also having a hard time doing it. It always says “Connection timed-out” or some sorts.

    I wonder if you did some SMTP Configurations and all. Thanks.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General