uuencode infile outfile | mail emailaddress
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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 Linux servers
Related Q&A from Kenneth Milberg
What's more risky: developing cross-platform or native mobile apps? One expert chooses sides in the native vs. non-native/cross-platform mobile apps ...continue reading
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
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.