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.


#TechXchangePresenter
 View Only
  • 1.  Read SMTP-Mailbox from flow

    Posted Thu May 18, 2006 01:29 PM

    Hi everybody,

    I’m searching for a possibility to read a pop3 or imap mailbox within a flow service - instead of using a configured email port.

    Background: I don’t want the mailbox to be read every 5 minutes or 2 hours for example. I’d like to have a scheduled service that runs once a day and reads from a specific mailbox.

    Thanks for any help.

    Kind regards,
    Max.


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


  • 2.  RE: Read SMTP-Mailbox from flow

    Posted Thu May 18, 2006 03:21 PM

    Max,

    The only option reading emails in wM IS is by configuring email port that hits a flowservice.There is no service outofbox which gets mails from mailbox.Looks its a typical requirement.

    Let see if others can share their experiences.

    HTH,
    RMG


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


  • 3.  RE: Read SMTP-Mailbox from flow

    Posted Mon July 24, 2006 06:43 PM

    Hi,
    i m using smtp port to read a mail from a mailbox and extract attachment from it. Input to the target service is ffdata which is of type object. If i directly give this as an input to createmimedata service, it doesn’t find any data in ‘ffdata’ thus throwing exception.
    So i need to follow following steps:
    1.use streamtobytes on ffdata
    2.use bytestostring on result of step 1.
    3.use stringtostream(from PSUtilities)
    4.input result of step 3. to createmimedata

    This flow works fine.
    Pls explain me the reason to handle such a simple step in a long round about manner


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


  • 4.  RE: Read SMTP-Mailbox from flow

    Posted Tue July 25, 2006 03:51 PM

    Pranav,

    See this post if it helps
    [URL=“wmusers.com”]wmusers.com

    Also make sure you set Content-type for handling flatfiles.

    HTH,
    RMG


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


  • 5.  RE: Read SMTP-Mailbox from flow

    Posted Tue July 25, 2006 04:58 PM

    The e-mail port can be configured to run once a day (use 86400 seconds) and reads from a specific mailbox–the username passed to the POP3 server identifies a specific mailbox. Is there some other reason you do not want to/cannot use the e-mail port?


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