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
Solved

How can I send a file via mailx (solaris)

Posted on 2004-09-21
5
4,840 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
Understanding Futures with busy waiting 2 101
What is the timeframe of this cron job? 2 143
Windows 10 gone bad 19 132
Wants to Upgrade fro Vista to Windows 10 9 65
Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
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.

828 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