Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

Mail is always sent as attachment

Go to solution

Mail is always sent as attachment

Hello All,

Whenever I send mail from my server it always arrives as an attachment and not as inline text the way I think it should. What do I have to change to correct this?

Thanks in Advance,
Rob Smith
Respected Contributor

Re: Mail is always sent as attachment

Hi, in the /usr/share/lib directory there is a file called mailx.rc. Add this line to the file:

set charset=us-ascii

This will fix your problem. Hope this helps.

Learn the rules so you can break them properly.
David Child_1
Honored Contributor

Re: Mail is always sent as attachment

You can also fix it on the fly with the '-m' option:

mailx -m -s "....