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.  Emailing Multiple Attachments

    Posted Wed July 12, 2017 07:31 PM

    Specifically, is there a way to retain the original document and attaching said document into the email? I have a process where if certain validation fails, it kicks off an attachmentEmail process and I would like to retain re-usability.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Emailing Multiple Attachments

    Posted Thu July 13, 2017 10:16 AM

    Hi,

    before invoking the smtp service create a list of attachments by using pub.list:appendToDocumentList.

    Map this list to the attachments list document in the smtp service.

    Regards,
    Holger


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Emailing Multiple Attachments

    Posted Thu July 13, 2017 04:46 PM

    I’ve initialized a document list with attachments and mapped it to the smtp service when called, but I am getting an error saying there is no filename and content in the attachment when I’ve tried mapping/initializing those fields.

    Also, is there a way for the smtp service to accept any document type and attach it to the email? For example, lets say I have 2 separate flow services, one processes a .xml file and the other a .txt file. The email service sends out an Exception Document regardless of the extension, but I would also like to attach the original document from either service.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB