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

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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
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.
Ernie GronblomCloud Systems EngineerCommented:
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" user@domain.name

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 ...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.