Paul Ward wrote:
Run unix2dos over the file before giving to the mail client.Hi all, Please can someone show me the easy way of fixing this format problem, I am sure it must be a simple command. I am mailing myself a file from postfix. the file is created by doing a cat of around 10 files into my tmpfile when viewed by less it looks like this Number of pages printed for RIAS-INS-HH04 today is 24 Number of pages printed for RIAS-INS-HH05 today is 7 Number of pages printed for RIAS-INS-HH06 today is 0 Number of pages printed for RIAS-INS-HH07 today is 0 Number of pages printed for RIAS-INS-HH09 today is 0 Number of pages printed for RIAS-INS-HH10 today is 0 Number of pages printed for RIAS-INS-HH11 today is 0 Number of pages printed for RIAS-INS-HH12 today is 0 Number of pages printed for RIAS-INS-HH13 today is 0 Number of pages printed for RIAS-INS-HH14 today is 0 Number of pages printed for RIAS-INS-PRT02 today is 12 Number of pages printed for RIAS-INS-PRT03 today is 17 However when I mail myself it mail -s "TEST" pnward@xxxxxxxxxxxxxx < /tmp/tmpfile The mails looks like below when opened in outlook :( Number of pages printed for RIAS-INS-HH04 today is 24 Number of pages printed for RIAS-INS-HH05 today is 7 Number of pages printed for RIAS-INS-HH06 today is 0 Number of pages printed for RIAS-INS-HH07 today is 0 Number of pages printed for RIAS-INS-HH09 today is 0 Number of pages printed for RIAS-INS-HH10 today is 0 Number of pages printed for RIAS-INS-HH11 today is 0 Number of pages printed for RIAS-INS-HH12 today is 0 Number of pages printed for RIAS-INS-HH13 today is 0 Number of pages printed for RIAS-INS-HH14 today is 0 Number of pages printed for RIAS-INS-PRT02 today is 12 Number of pages printed for RIAS-INS-PRT03 today is 17 Before anyone says get a better client this is for work. Thanks Paul --
|