Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending MS word doc using mailx

Amarnath D
Occasional Advisor

Sending MS word doc using mailx

Hello All,

I need to send MS word document using mailx, i have used the ux2dos and uuencode. But i am getting a junk content mail and no attachemt.
Kindly advice...

Steps followed:
First: convert the msdoc file using ux2do
second: encode using uuencode
third: send mail using mailx
mailx -m -s "test message" -F msdoc.doc abcd@abcd.com
2 REPLIES
RAC_1
Honored Contributor

Re: Sending MS word doc using mailx

Use elm.
There is no substitute to HARDWORK
Aneesh Mohan
Honored Contributor

Re: Sending MS word doc using mailx


Hi Amarnath

I could able to do using the below steps.

# ux2dos hosts > hosts1.doc
# uuencode hosts1.doc hosts.doc >> messg1
# mailx -m -s "Test Mail" aneesh@abcd.com < messg1
#


Aneesh