1833229 Members
3178 Online
110051 Solutions
New Discussion

Problem with Mailx.

 
SOLVED
Go to solution
Gulam Mohiuddin
Regular Advisor

Problem with Mailx.

While issuing the following command to send mail message (HP-UX 11):

$echo 'Test' | mailx gulam@region.com

I get this message in the E-mail:

" 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."

Please let me know why I am getting this message and how to resolve it.

Thanks,

Gulam.
Everyday Learning.
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Problem with Mailx.

Hi:

Try: echo 'Test'|mailx -m gulam@region.com

...JRF...

MARREEL Chris_1
Regular Advisor

Re: Problem with Mailx.

I don't know what the '-m' option means, because on my 10.20 machine this doesn't work (allso not described in the man-pages...).
I have added a line "set charset=us-ascii" to the file "/usr/share/lib/mailx.rc" and from now on it works, the information is in the body of the E-mail message.

CHRIS_ANORUO
Honored Contributor

Re: Problem with Mailx.

Chris download and install patch PHNE_21697 for sendmail 8.9.3.
You can also use elm -s "Subject" name@hp.com < file
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
MANOJ SRIVASTAVA
Honored Contributor

Re: Problem with Mailx.

Hi Gulam

HPUX 11.00 attachement are only support with elm version 2.4 and above. However there are programs which are freeware available which can be downloaded and used . Please go to www.stokely.com to know more about this problem .

Also I have used mpack to overcome this problem , down load the file and untar it , copy mpack in /usr/bin and use it like mailx.

You can copy mpack from the following site :
(ftp://ftp.andrew.cmu.edu:/pub/mpack/)

Or you can use metamail from the following site :

In case you want I can send you the mpack executable file as an attachment .

Manoj
(ftp://thumper.bellcore.com/pub/nsb/)