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 extract email body message?

    Posted Wed June 09, 2010 05:22 PM

    Hi Everyone!

    I am having problem trying to extract the email body from the Email Listener. Basically, what happen is i can extract the email body from the Email Listener if there are no attachment. However, if there is an attachment, i can only get the attachment, but no email body. Here is what my flow service look like:

    getTransportInfo
    createMimeData
    getNumParts
    Repeat (step)
    getBodyPartContent
    streamToBytes
    bytesToString
    appendToStringList
    addInts


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


  • 2.  RE: How to extract email body message?

    Posted Fri June 11, 2010 04:13 AM

    Try this:
    Just make sure the ‘Invoke service for each part of multipart message’ property in the email port is set to ‘No’ and you will get the body content as String in the ‘data’ variable under ‘getTransportInfo/email’.


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


  • 3.  RE: How to extract email body message?

    Posted Thu December 13, 2018 04:40 PM

    Hi Sam,

    How to do create the mime message.
    Do u map the email/content from the input variable pipeline to Input of the create mime object.
    I am havign issues with that service.


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