Using Email notification activity can we send a HTML tags

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
bicap
Premium Member
Premium Member
Posts: 95
Joined: Mon May 03, 2010 10:22 pm
Location: India
Contact:

Using Email notification activity can we send a HTML tags

Post by bicap »

Using Email notification activity can we send a HTML tags so I can get a mail as an HTML template. Currently I wrote an HTML code in Email notification activity but when I get a mail I can see all my tags and source code it has not been executed

Can you please suggest me the way how to do it.
pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post by pandeesh »

i think it's not supported in Email Notification activity stage.
pandeeswaran
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What do you mean by "executed" in an HTML context? HTML = "hypertext markup language" - it does not promise anything executable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
bicap
Premium Member
Premium Member
Posts: 95
Joined: Mon May 03, 2010 10:22 pm
Location: India
Contact:

Post by bicap »

By execute I mean render, See what I am trying to achieve here is to I want to format the output text which I am sending in the email body

for eg if mail cotains alert notification need to show in bold or red color

right now my mail text is containing HTML tags which i want to render which displaying in browser

Please let me know if further clarification is needed
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

DataStage on UNIX uses 'sendmail' under the covers and that only supports HTML if the message is MIME encoded. For one example, see here. Which also means you'll need to roll your own email routine to accomplish this, unless (perhaps?) you send the HTML document as an attachment instead of in the body.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply