Operating System - HP-UX
1748202 Members
3052 Online
108759 Solutions
New Discussion юеВ

Re: text e-mailed from HP-UX becomes an attachment

 
SOLVED
Go to solution
Paul Gerke
Advisor

text e-mailed from HP-UX becomes an attachment

I have fixed this before, but don't remember how. After upgrading from 11.0 to 11.11, a text message is now showing up as an attachment in Outlook with the following explanation: "This message uses a character set that is not supported by the Internet Service."

It seems the fix was changing something from roman8 to us-ascii, but I don't remember where.
Paul
4 REPLIES 4
Christian Schulze
Regular Advisor
Solution

Re: text e-mailed from HP-UX becomes an attachment

Hi Paul,

I use mailx with the -m Option

Example:
cat /etc/hosts | mailx -m -s "Test-Mail" you@your-company.com


Christian
never touch a running system
Bernhard Mueller
Honored Contributor

Re: text e-mailed from HP-UX becomes an attachment

Hello,

you may
1)
follow Christian's advise and use -m for the mailx command or
2)
edit $HOME/.mailrc for the respective users and use "set encoding=usascii" or
3) you edit the system default /usr/share/lib/mailrc file

personally I would use option 1 rather than 2, but never 3

just my 0.02$

Regards
Bernhard
Brian K. Arnholt
Frequent Advisor

Re: text e-mailed from HP-UX becomes an attachment

Paul,

To fix this, edit the sendmail.cf file in /etc/mail. The line you want to edit is the default character set (I simply commented it out):


# default character set
#O DefaultCharSet=iso-8859-1

Good luck,

Brian
Some see things as they are and ask why, I dream of things that never were and ask why not?
harry d brown jr
Honored Contributor

Re: text e-mailed from HP-UX becomes an attachment

Paul,

What are you using to send mail and HOW are you using it?

Is it possibly just an OUTLOSS configuration?

live free or die
harry
Live Free or Die