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

Reading email content over email port

  • 1.  Reading email content over email port

    Posted Tue August 30, 2016 09:50 AM

    Hey Guys,

    I have configured an email listener port and reading emails over it. My listener service has ‘contentStream’ object as input. Inside theservice, am invoking pub.io:streamToString with contentStream as input to read the stream to string. I haven’t specified any encoding. Issue is, for all the ‘+’ symbol in the actual email, its reading them as ‘& #43;’, which seems to be its ASCII value. How do i read it as a regular (UTF-8) string ?
    Am using Microsoft outlook to send the email.


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


  • 2.  RE: Reading email content over email port

    Posted Tue November 01, 2016 06:07 PM

    use html decode after converting it into string. that might resolve your problem.


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