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
Need a PaaS platform with strong production support? Explore production support and SLAs of AWS Elastic Beanstalk, IBM Bluemix, Google App Engine and...continue reading
When you move to PaaS for your web-based apps, remember to think about database services. Consider the benefits of moving your database to a fully ...continue reading
Making sure that your PaaS offering and the web development framework of your choice agree can be tricky. Learn how to choose the best framework for ...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.