Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

mailx vs Outlook - line breaks

SOLVED
Go to solution
A. Daniel King_1
Super Advisor

mailx vs Outlook - line breaks

Hi, folks.

Days like today remind me why I'm in Unix support.

I've got a process that uses mailx to send messages to Outlook. Outlook nicely removes the line breaks. "Extra line breaks in this message were removed. To restore, click here."

The formatting becomes all broken due to the "unwanted" line breaks. I see where there is a fix - from Outlook:

http://www.cmu.edu/computing/documentation/faq_outlook/outlookfaq.html#7

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q295014

Is there a fix from the Unix side? I know there is...
Command-Line Junkie
8 REPLIES
Shannon Petry
Honored Contributor

Re: mailx vs Outlook - line breaks

Your report has blank lines in it that you want to remove? You really dont explain much of the problem, so dont expect much of a solution.

A sample of what your emailing yourself would help.
Microsoft. When do you want a virus today?
Frank Slootweg
Honored Contributor

Re: mailx vs Outlook - line breaks

What precisely in the first URL are you referring to?

Do you have, as the second URL implies, Outlook *2002*?

If so, you may want to check if you can disable AutoClean on the Outlook (2002) side.

You can not 'fix' the problem on the Unix side, because the problem is not present/created on the Unix side, but on the Outlook (2002) side.
Valerie Kurkas
Occasional Visitor

Re: mailx vs Outlook - line breaks

I have a similar question to this one and I'll be as specific as possible. I would like to be assured that when I send an e-mail, line breaks will appear where I put them even in Outlook 2002. It can't be hard, Outlook doesn't remove ALL the line breaks, just some of them. So what can I do to ensure that Outlook absolutely won't remove my line break? You would think that the kind folks at Microsoft could answer this question, but so far, no luck.

Any suggestions are welcome!

Thanks!
John Meissner
Esteemed Contributor
Solution

Re: mailx vs Outlook - line breaks

you could always switch to evolution - the new mail client for Red Hat Linux.
All paths lead to destiny
Jason Martens
Frequent Advisor

Re: mailx vs Outlook - line breaks

I noticed the same thing with my admin e-mails from the server. I just clickec where it says "click here" and it stayed that way. I haven't worried about it since.

Jason
Never swap out a tape drive at 3 AM!!!
A. Daniel King_1
Super Advisor

Re: mailx vs Outlook - line breaks

In my case, Outlook removed ALL the line breaks.
Command-Line Junkie
Chris Vail
Honored Contributor

Re: mailx vs Outlook - line breaks

An easy fix would be to use ux2dos as part of your command string: "COMMAND|ux2dos|mailx -s "SUBJECT" me@mydomain.com.

This removes line breaks before mailx gets the file. However, this is the first time I've seen this kind of problem with mailx and sendmail. Is your command inserting additional 's that aren't needed?


Chris
Yogeeraj_1
Honored Contributor

Re: mailx vs Outlook - line breaks

hi,

please find attached a great document by Keith Moore which explains everything!


hope this helps!

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)