Topic:   How to send a colourful email alert from webMethods
Aug 21, 2012 16:25 3 Replies 4253 Views Neelima
Prev Next
Topic Replies (3)
  1. 1
    idnkx user



    I would like to send an alert whenever something goes wrong with Broker or when Broker client length exceeds threshold. I would like to add a logo and some colour in the mail. Could anyone let me know what services i need to use and the configuration settings at webMethods to acheive this.

    idnkx user


    You can try this procedure:

    You can form the your business content using HTML tags and you an include font color as well and finally give the content to "body" in smtp service, then this email will not come as a attachment. It will come as email body.

    1. string to Byte
    2. byte to stream
    3. pub.mime:createMimeData
    4. pub.mime:addBodyPart (content Type =text/html)
    5. pub.mime:getEnvelopeStream
    6. pub.client:smtp

    Use the below configuration to wrap your smtp message Email body:

    Broker Monitor Alert

    Try with DSP and output Templates to design your Email body ../opt/softwareag/wm80_01/IntegrationServer/packages/sampleMonitorFramework/templates/Colourful Email Alert.html (PFA)

    Let me know if this works for you.

    idnkx user



    With Attachment(DSP/HTML template file)

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.

Let`s Connect