Well this mailing list is so buzzing with responses I decided to fix it my 
self. 
I almost reloaded the w2k box and jffnms but persistence paid off. 
After much fiddling about with the code in email.ini.php I got it working.  
Well done !! considering I'm a complete noob when it comes to php. 

Email now looks like this

Hello Administrator:

Alarm Time:     2005-09-26 15:10:20
Alarm Type:      Interface Protocol down 

Interface:         xxxx  Intel 8255x-based PCI Ethernet 

Event:   2005-09-26 15:10:20  xxxx
Event:   Interface Intel 8255x-based PCI Ethernet Protocol down  (xxxxx 
10.10.10.1) 


Well here's my stuff,

$headers = "MIME-Version: 1.0\r\n"."Content-Type: multipart/mixed"."From: 
JFFNMS@".get_config_option("jffnms_site")." <$from>\r\n".
                "X-Mailer: JFFNMS ".get_config_option("jffnms_version")." ( 
http://www.jffnms.org )\r\n";

$body = "Content-Type: text/plain; charset=ISO-8859-1\r\n" . 
"Content-Transfer-Encoding: base64\r\n\r\n";
$body .= chunk_split(base64_encode($body));

 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to