Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unrecognizable font when receiving file in outlook from unix email 1

Status
Not open for further replies.

rcbatlinux

Technical User
Mar 30, 2001
80
US
I email a report to various people each day that is created in UNIX. The command is:

mailx -s &quot;Report for $today&quot; rcb < FILE

It emails fine but it comes into outlook as an attachment and in the body states:

This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. message.txt


Whic if I can read the attachment fine but I would like the text based report to simply show in the body of the email. Any thoughts?

rcbatlinx
 
What doesn't it like in the file then? Is it a printer control code or something? I would be tempted to strip anything like that out if possible. Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
One possibility is that the file is sent with only line feeds as the end of line character and outlook expects carriage return and line feed. Try running it through unix2dos before sending it.
 
Just figured it out! I think this discussion helped. I found that with mailx there is a variable called &quot;charset&quot;. I set it up to use set charset=us-ascii in my home directory .mailrc file and this did the trick.

Thanks for the input.

rcbatlinux
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top