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.

 View Only
Expand all | Collapse all

pub.client.smtp service parameters in mailhost and mailhostport for outlook

  • 1.  pub.client.smtp service parameters in mailhost and mailhostport for outlook

    Posted Mon June 17, 2019 04:21 AM

    Hi All,

    I have tried using wM service:pub.client.smtp by providing mailhostname:“smtp.office365.com” and in TO parameter my outlook emailId after running the service has given error: “com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [KU1PR03CA0001.apcprd03.prod.outlook.com]”

    Even i have tried with my gmailId in TO parameter and mailHost: smtp.gmail.com the service has given error, “com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. b15sm14221184pff.31 - gsmtp”

    I am using webMethods 10.1 trial testing free version. PFA the attached service screenshot.

    Note: I haven’t done any done any extended settings change in IS level. If required what needs to be configured?

    Your responses will be helpful. In this scenario i need to send an email to emailID with documentList/StringList as an Attachment.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: pub.client.smtp service parameters in mailhost and mailhostport for outlook

    Posted Fri June 21, 2019 01:07 AM

    Have you tried to provide username and password under auth?
    If you’re connecting to a SMTP server which requires secured connection, try to set transportLayerSecurity to explicit or implicit?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: pub.client.smtp service parameters in mailhost and mailhostport for outlook

    Posted Fri June 21, 2019 04:11 AM

    @Xiaowei Wang yes you are correct, after providing correct mailhost and auth username password.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB