Xymon Mailing List Archive search

Wrong color with html_mail.pl

list Johan Sjöberg
Thu, 27 Aug 2009 16:24:27 +0200
Message-Id: <user-9040643895ab@xymon.invalid>

Thanks for the tip.

I have, however, found another problem with the script. The message that is stored in the $BBALPHAMSG is truncated to a limited number of characters. That means, that if the red icon is too far down on the page, the script will not find it, and the color of the mail will be the "worst" one in the message that it receives.

So, is there any way to increase the size limit of the $BBALPHAMSG?

/Johan

-----Original Message-----
From: Alexander Bech [mailto:user-bd67b1e4c445@xymon.invalid] 
Sent: den 25 augusti 2009 11:00
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Wrong color with html_mail.pl

Johan Sjöberg schrieb:
Hi.

For some customers, we use the html_mail.pl script from Xymonton. But we have problems with the background color being wrong quite often. The subject and icons are correct, but sometimes the background color is, for example, clear or blue when it should be red. Is anyone else using this script and experiencing the same problem? Do you know what the cause might be? I'm no perl guru, but I cannot find any problems in the script.

Regards,
Johan Sjöberg

  
Hi,

change the message type to multipart/related (line 83)

Regards,
Alex