<div dir="ltr"><div>+1 on Outlook removing "extra line breaks" trying to be "helpful".  But I wouldn't expect this to actually join lines together.</div><div><br></div><div>First of all, check if your alert config has FORMAT=PLAIN or FORMAT=TEXT.  If one, try the other.</div>

<div><br></div>You can replace the mail program to insert newlines, by doing something like the following:<div><br></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">MAILC="/usr/bin/sed 's/$/\r/' | mail"</span></div>

<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Another option is to armour your message using MIME, base64 or UU-encoding.  Not sure how though.  The problem is that most methods of doing this require adjustments to the headers, and cannot be done purely by adjustments in the body.  You can do something like this:</span></div>

<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">MAILC="uuencode message.txt | mail"</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br>

</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">This will convert the messages into a form that Outlook sees as an encoded attachment.  The main messages is blank, but the attachment is "messages.txt" that can be clicked on to view.  As the attachment is uuencoded, all EOL characters are preserved.  To get fancy and all "user-friendly":</span></div>

<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">MAILC="( printf 'Xymon status message attached.\n\n'; uuencode messages.txt; ) | mail"</span></div>

<div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Perhaps you could take a look at the email headers and see of a content-type is being set?  You might be able to override that somehow in your MAILC config.  You can view the email headers in Outlook by right-clicking on the message (in the message list) and selecting "Message Options".</span><br>

</div><div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 24 October 2013 07:21, Nick Pettefar <span dir="ltr"><<a href="mailto:Nick@pettefar.com" target="_blank">Nick@pettefar.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks.  OK, I;ll give it a go tomorrow at work - I don't recall<br>
seeing that message though.<br>
<br>
Regards,<br>
<br>
Nick Pettefar<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 23 October 2013 21:00, Mike Burger <<a href="mailto:mburger@bubbanfriends.org">mburger@bubbanfriends.org</a>> wrote:<br>
> If it were running on a Windows system, it might insert CR/LFs...if it's<br>
> running on a *nix system, probably not.<br>
><br>
> That having been said, you may notice in Outlook that it says something<br>
> like "Extra line breaks in this message were removed." in a blue line<br>
> below the From line and the Sent line.<br>
><br>
> Click on that, and it provides a popup that reads "Restore line<br>
> breaks"...click on that popup and voila...you get your separate lines.<br>
><br>
> --<br>
> Mike Burger<br>
> <a href="http://www.bubbanfriends.org" target="_blank">http://www.bubbanfriends.org</a><br>
><br>
> "It's always suicide-mission this, save-the-planet that. No one ever just<br>
> stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1<br>
><br>
><br>
>> We just use crummy Outlook.  It's set to text only.<br>
>><br>
>> Can the e-mail generator of Xymon put a CR/LF in front of each colour?<br>
>>  That would improve things enormously.<br>
>><br>
>> Regards,<br>
>><br>
>> Nick Pettefar<br>
>><br>
>><br>
>> On 22 October 2013 23:49, Ford, Alan <<a href="mailto:Alan.FORD@stanwell.com">Alan.FORD@stanwell.com</a>> wrote:<br>
>>> Hi,<br>
>>> Can your email readers handle HTML (eg most smartphones)<br>
>><br>
>>> -----Original Message-----<br>
>>> From: Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>] On Behalf Of Nick Pettefar<br>
>>> Sent: Wednesday, 23 October 2013 2:14 AM<br>
>>> To: xymon<br>
>>> Subject: [Xymon] Untidy e-Mails<br>
>>><br>
>>> Hi, we have various alert e-mails which look something like this:<br>
>>><br>
>>> yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found 2,<br>
>>> req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson<br>
>>> (found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green<br>
>>> Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or<br>
>>> more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found 1,<br>
>>> req. 1 or more) &green Zamano (found 2, req. 2 or more) &green Tango<br>
>>> (found 0, req. none) &green Opera (found 0, req. none) &green BT (found<br>
>>> 0, req. none) &yellow Modeva (found 0, req. 1 or more) &green Gemalto<br>
>>> (found 2, req. none) &green Biogiorno (found 0, req. none) &green<br>
>>> Phonovation (found 3, req. 2 or more) &green Phonovation1 (found 1, req.<br>
>>> 1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or<br>
>>> more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)<br>
>>><br>
>>> Is there a way to tidy them up so that the individual coloured alerts<br>
>>> can easily be discerned?<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> Nick Pettefar<br>
>>> _______________________________________________<br>
>>> Xymon mailing list<br>
>>> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
>>> <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
>>><br>
>>> This email is to be read subject to the email disclaimer located at<br>
>>> <a href="http://www.stanwell.com/email-disclaimer.aspx" target="_blank">http://www.stanwell.com/email-disclaimer.aspx</a><br>
>> _______________________________________________<br>
>> Xymon mailing list<br>
>> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
>> <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
>><br>
><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>