[hobbit] Hobbit sending HTML emails?

Taylor, Robert Robert.Taylor at HendrickAuto.com
Sun Oct 30 01:27:30 CEST 2005


Another option is to write  custom alert script and set that as the action for the alert.  I have written just such a script so that my MRTG and UPS alerts come in as HTML and include the appropriate graphs.  I would be happy to email it to you if you would like, just be forwarned that I am not a developer so run at your own risk ;-).
 
Robert

	-----Original Message----- 
	From: Scheblein, Adam [mailto:adam.scheblein at marquette.edu] 
	Sent: Fri 10/28/2005 4:56 PM 
	To: hobbit at hswn.dk 
	Cc: 
	Subject: RE: [hobbit] Hobbit sending HTML emails?
	
	

	There is a way to make your mail program send html e-mails, however, if
	you check your version to make sure it has the -a, then under the mail
	variable, set it to be (and it shouldn't matter if you use mail or
	mailx):
	
	mailx -a "Content-type: text/html;"
	
	Adam
	
	-----Original Message-----
	From: Henrik Stoerner [mailto:henrik at hswn.dk]
	Sent: Friday, October 28, 2005 2:53 PM
	To: hobbit at hswn.dk
	Subject: Re: [hobbit] Hobbit sending HTML emails?
	
	On Fri, Oct 28, 2005 at 12:46:58PM -0700, Charles Jones (charljon)
	wrote:
	> 
	> I've setup a Hobbit 4.1.2 instance and have been getting emails from
	it
	> that have HTML tags in them, but aren't recognized by either MS
	Outlook
	> or Mozilla Thunderbird as an HTML-email. So, either hobbit isn't
	> properly setting the header on the mails it sends, or something about
	> the alert output is causing the problem.
	
	Unless you changed something special in your setup, Hobbit handles
	all alerts as plain text, and just feeds them into your local "mail"
	utility.
	
	> The alert below is an example of how the emails I'm getting look, with
	> bare HTML tags in the message.
	
	I'm 99% sure this is an external add-on test that generates a status
	in HTML format.
	
	
	Regards,
	Henrik
	
	
	To unsubscribe from the hobbit list, send an e-mail to
	hobbit-unsubscribe at hswn.dk
	
	
	
	To unsubscribe from the hobbit list, send an e-mail to
	hobbit-unsubscribe at hswn.dk
	
	
	



More information about the Xymon mailing list