Messaging
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