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
  • 1.  Send any kind of attachments via pub.client:smtp service

    Posted Mon October 15, 2007 11:58 AM

    [SIZE=2]Hello,

    I’d like to send any kind of attachments via pub.client:smtp service. I work with:

    • Ms Outlook 2003 as an SMTP Client
    • IS Version is 6.5
    • JVM version is 1.4.2

    According to WM documentation, if I use filename to attach a file to the message and the file is not a plain text file, I must set the contenttype and encoding. For .doc files, the values are:
    - contenttype: application/mssword
    - encoding: base64

    For .xls, .ppt, .pdf, .rar, .zip files even pictures, what are the values of contenttypeand encoding?[/size]


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


  • 2.  RE: Send any kind of attachments via pub.client:smtp service

    Posted Mon October 15, 2007 05:00 PM

    The encoding value will depend on what your service does, if anything, to encode the file. The content types can be looked up on the web. For example, PDF is application/pdf.


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


  • 3.  RE: Send any kind of attachments via pub.client:smtp service



  • 4.  RE: Send any kind of attachments via pub.client:smtp service

    Posted Wed October 31, 2007 06:58 PM

    The content type value “application/octet-stream” handle any e-mail attachment!


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


  • 5.  RE: Send any kind of attachments via pub.client:smtp service

    Posted Wed October 31, 2007 09:31 PM

    True, but this should be used only when the content type is not known or cannot be determined. application/octet-stream basically says “here’s a bunch of bits–you figure it out.”


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