Solved

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

Posted on 2014-07-30
5
257 Views
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
0
Comment
Question by:smilebebrave
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 167 total points
ID: 40229490
0
 
LVL 28

Expert Comment

by:serialband
ID: 40229970
Are you talking about email clients?

alpine
mutt
mailx
pine

https://en.wikipedia.org/wiki/List_of_email_clients#Text-based

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.
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 167 total points
ID: 40231306
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.
0
 
LVL 3

Assisted Solution

by:gronblom
gronblom earned 166 total points
ID: 40232462
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 ...
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40289749
:)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn how to dynamically set the form action using jQuery.

863 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

25 Experts available now in Live!

Get 1:1 Help Now