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.  smtp service: body as html or backgrounds

    Posted Wed November 07, 2007 10:51 AM

    Hey,

    We want to use the smtp service to send mail to the outside.
    We want to make clear difference between mails comming from test environment and production.

    Is it possible to add background like the words ‘TEST’ in the body of the mail ?
    We already tried the put a html in the body but it isn’t converted when it e.g. arrives in outlook.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: smtp service: body as html or backgrounds

    Posted Wed November 07, 2007 04:33 PM

    That’s a great idea. I don’t know how to go about it exactly, but my first thought is that you’ll need to use multipart MIME to create the e-mail with the right content types for Outlook to see the mail as HTML instead of text.

    Perhaps someone else has investigated this and can provide pointers.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: smtp service: body as html or backgrounds

    Posted Thu November 08, 2007 01:23 PM

    We are using the smtp service to send the mails. We send attachements, using smtp services.

    Using the same mail server, by changing the input paramater “FROM” you achieve this. you can use one id for Test environment and another for the Production environment.

    Hope this helps.

    Thanks,
    Arjun


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: smtp service: body as html or backgrounds

    Posted Thu November 08, 2007 05:29 PM

    That’s a good “low-tech” approach that works well–virtually everyone does that.

    I would think the appeal of a much-more-noticeable visual cue in the form of a background image or watermark is quite high.

    If someone figures out a way to do this, please post the solution if you’re allowed to do so.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 5.  RE: smtp service: body as html or backgrounds

    Posted Thu November 08, 2007 09:14 PM

    I have a non “low tech” approach. Initialize a variable say custom_body with some message say

    This is not a low tech approach . In pub.client.smtp service , set attachments/contenttype to "text/html". map the variable custom_body to attachments/content. Hard code body to blank.

    Send mail, you will recieve mail in your outlook with the back ground color of your choice.

    HTH
    Pritam


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB