[smokeping-users] smokeping System Availability email

Anton, Roger Roger.Anton at stadt-pforzheim.de
Thu Oct 4 08:00:22 CEST 2007


Hello,

Christopher Hubbard wrote:
> The digest email that is using HTML gets all of the formatting
stripped
> in both Outlook, as well as Evolution.

I've experienced the same behaviour and circumvented it by prepending
'$Body = "Content-Type: text/plain\n";' in morning_update() and
'"$Body = "Content-Type: text/html\n";' in weekly_update() as first
lines of the mail composition in bin/tSmoke. In addition to that
I've removed the two lines

< MIME-Version: 1.0
< Content-Type: text/html

from the tmail template.

I've used this with SmokePing 2.0.9 but it should work with the 
current release, too. Can't tell for sure as I don't use this
feature anymore.

Regards,
Roger



More information about the smokeping-users mailing list