webMethods

webMethods

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
  • 1.  How to read email from email port

    Posted Thu July 14, 2016 03:36 PM

    Hi All,

    I am trying to read the outlook email message after configuring the http email port in IS.
    I have created the email port with IMAP enabled protocol and configured the global service
    I am able to read the message with this listener and couldnt read the email message.
    Could anyone please guide me to achieve this.
    we are using webMethods 9.5


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 2.  RE: How to read email from email port

    Posted Sat July 16, 2016 06:54 AM


  • 3.  RE: How to read email from email port

    Posted Tue July 19, 2016 01:36 PM

    Hi Mahesh, I am able to get the body of them email.
    I am having issues getting the header and combining body and header and save it in html document
    I am doing below steps:
    get transport info
    create mime data
    add mime header
    get body part content
    stream to bytes and bytes to string
    and string to file


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 4.  RE: How to read email from email port

    Posted Wed July 20, 2016 07:00 AM

    Dear,

    Use Service pub.mime:addBodyPart and pub.mime:getEnvelopeStream instead and create to string and string to File.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 5.  RE: How to read email from email port

    Posted Mon August 06, 2018 02:13 PM

    HI all,

    Please share the settings for Gmail.
    I have used the attached settings but the port is failing with the below error

    Failed to start EmailListener:pop3s:XXX@gmail.com@pop.gmail.com: [ISS.0070.9003] Enable failed: Could not log into account XXX@gmail.com@pop.gmail.com


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport