Solved

How can I send a file via mailx (solaris)

Posted on 2004-09-21
5
4,843 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
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 …
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.

734 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