Emails & HTML Code
I have the message files being emailed
to folks on alerts.
The problem is that it has the html code
in it (See below)
Is there a way to clean this up for better email
alerting?
Thanks.James
Doesn't look bad here, but when you get a lot of
files with all the &, href, etc.. in it. It's not readable.
Full log <a href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=iau070&SECTION=msgs:/ /hobbit/client/tmp/biglog.out">/hobbit /client/tmp/biglog.out</a>
/logs/server1/SystemOut.log:[11/28/06 22:47:36:101 GMT] 00000054 SystemOut O J2CA00E TEST FOR BIG BROTHER ALERT
On Wed, Dec 06, 2006 at 11:43:20AM -0600, James Wade wrote:
I have the message files being emailed to folks on alerts.
The problem is that it has the html code in it (See below)
Full log <a href="/hobbit-cgi/bb-hostsvc.sh?CLIENT=iau070&SECTION=msgs:/ /hobbit/client/tmp/biglog.out">/hobbit /client/tmp/biglog.out</a>
/logs/server1/SystemOut.log:[11/28/06 22:47:36:101 GMT] 00000054 SystemOut O J2CA00E TEST FOR BIG BROTHER ALERT
Hmm, yes - this is unfortunate.
Is there a way to clean this up for better email alerting?
Not something easy. You could use a script to do the alerting, and have it build your own alert messages where you filter out the HTML code. That's the only way I can think of right now.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
jkwade@futurefrontiers.com