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.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

sending attachment files through mail.

SOLVED
Go to solution
avsrinivas_1
Occasional Advisor

sending attachment files through mail.

In HP-UX 10.20, we have created a socket program through which, we can make a socket connection to a mail server and send mail messages. But to include attachments in the
program.
Be Dynamic
2 REPLIES
federico_3
Honored Contributor
Solution

Re: sending attachment files through mail.

Douglas Cromby_1
Valued Contributor

Re: sending attachment files through mail.

This should work:

mailx -s "subject" user@company.com < file

Another way to encode the attachment is:

uuencode file | mailx -m -s "test" user@company.com