From jkwade@futurefrontiers.com Wed Jun 24 08:13:36 2026 From: jkwade@futurefrontiers.com To: xymon@xymon.com Subject: Emails & HTML Code Date: Wed, 06 Dec 2006 11:43:20 -0600 Message-ID: <010c01c7195e$07b681d0$6b2fb8a5@txaccess.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7223219429442252653==" --===============7223219429442252653== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 /hobbit /client/tmp/biglog.out /logs/server1/SystemOut.log:[11/28/06 22:47:36:101 GMT] 00000054 SystemOut O J2CA00E TEST FOR BIG BROTHER ALERT --===============7223219429442252653==-- From henrik@hswn.dk Wed Jun 24 08:13:38 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [hobbit] Emails & HTML Code Date: Fri, 08 Dec 2006 23:02:54 +0100 Message-ID: <20061208220254.GN8994@hswn.dk> In-Reply-To: <010c01c7195e$07b681d0$6b2fb8a5@txaccess.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6235562928121790816==" --===============6235562928121790816== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 /hobbit /client/tmp/biglog.out > > /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 --===============6235562928121790816==--