I need an application that allow me to send email with attached files from unix solaris shell

Posted on 2014-07-30
Last Modified: 2014-08-28
I need an application that allow me to send email with attached files from unix solaris shell. Free or with cost, what I want is a strong solution.

best regards

Smile be Brave
Question by:smilebebrave
LVL 86

Accepted Solution

CEHJ earned 167 total points
Comment Utility
LVL 27

Expert Comment

Comment Utility
Are you talking about email clients?


With  the older ones, you would attach a file by running uuencode to convert it to text then paste that into the file.  That's what the newer mailer do for you automatically.
LVL 61

Assisted Solution

gheist earned 167 total points
Comment Utility
You can pipe mail text and uuencodes attachment to /usr/lib/sendmail , most mail clients will understand this format.
Solaris does not have any mime manipulation tools from factory, while you can add some typical linux mime packagers to beautify mail more.

Assisted Solution

gronblom earned 166 total points
Comment Utility
I prefer to uuencode the file (which makes it an attachment) and then send through mailx:

uuencode file-to-encode.ext file-to-encode.ext | mailx -s "Subject line text - such as - sending file-to-encode.ext"

You do have to put the filename in the uuencode line twice.  For multiple files, you can create multiple uue files first (uuencode file.txt file.txt > file.uue) and then cat them together: cat file.uue file2.uue file3.uue | mailx ...
LVL 86

Expert Comment

Comment Utility

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This video teaches viewers about errors in exception handling.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now