Solved

How can I send a file via mailx (solaris)

Posted on 2004-09-21
5
4,837 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
ID: 12109774
ok Thank you
0
 

Expert Comment

by:Yesurbius
ID: 12109818
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
ID: 12110216
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
ID: 12114928
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
ID: 12120495
ok thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

18 Experts available now in Live!

Get 1:1 Help Now