Solved

How can I send a file via mailx (solaris)

Posted on 2004-09-21
5
4,836 Views
Last Modified: 2011-09-20
I want to send a file via mailx.
I want to send to a receiver who has an Outlook express client.
How can I do it
0
Comment
Question by:vage78
  • 3
  • 2
5 Comments
 

Author Comment

by:vage78
Comment Utility
ok Thank you
0
 

Expert Comment

by:Yesurbius
Comment Utility
Have you tried:

uuencode file.dat < file.dat | mailx user@host.domain.com

This runs uuencode which converts an 8 bit file into 7 bit text, and takes file.dat as the input file.  Then it takes the result of that, and pipes it through to the mailx command which is sending to user@host.domain.com
0
 

Author Comment

by:vage78
Comment Utility
ok
It works but  it has come all the mail in a single row.
How can I make it to arrive as it is the original file?

What is the syntax for sending a file via mailx?

0
 

Accepted Solution

by:
Yesurbius earned 35 total points
Comment Utility
I am not sure I understand what you mean by the mail has come in a single row.

For information on mailx usage, you can type 'man mailx' or visit Sun's site http://docs.sun.com/db/doc/806-7612/6jgfmsvqp

Have you tried using this syntax:

uuencode /tmp/myfile.tar.gz | mail someone@abc.com

?
0
 

Author Comment

by:vage78
Comment Utility
ok thank you
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

763 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

7 Experts available now in Live!

Get 1:1 Help Now