I am working on a script that sends a text file attachment on mail from unix server to my widows outlook mail box.
When i see the text file in UNIX it is perfectly formatted but when i open the same file in the mail, it looks weird as the next line is added to the same line.
So your first idea is the good one except of unix2dos... Are sou sure of the syntax? I know there are variations, it goes to convert the given file - To STDOUT or outfile to convert on the fly the inputfile...
I am getting the mail with attachment using the command that i used. But it is not formatted.
I have used unix2dos as i am sending mail from the Linux x86_64 box to my mail account. Also the mail sending option is already configured as i am getting mails from my other scripts.
Dont know...
I would try to unix2dos the file before, remove that part from your command line, so it is already converted before the uuencode, give it a try?