uuencode infile outfile | mail emailaddress
However, it is not working properly. It doesn't send as an attachment. It is going as email body plain text. Can you help me out?
Try this syntax:
uuencode infile outfile | mailx –m –s "test message" emailaddress
Dig Deeper on Unix-to-Linux migration
Related Q&A from Kenneth Milberg
Unix-to-Linux migration expert Ken Milberg describes how virtualization, support, clustering and more fit into the migration of an IT infrastructure ...continue reading
A reader new to Linux wonders about which distribution is recommended for installing Nagios and what Nahant and Tikanga mean.continue reading
Documentation for Red Hat Enterprise Linux 5 covering checking system performance, tuning, kernel configuration and extending the file system exists ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.