Solved

sendmail

Posted on 2000-05-17
2
380 Views
Last Modified: 2010-04-21
What  is the command line to execute a sendmail with an attachment to a user?
0
Comment
Question by:volleyball
2 Comments
 

Accepted Solution

by:
roy911 earned 20 total points
ID: 2817442
This is how you would do it :

# uuencode <file_to_be_sent> <uuencoded_file_name> | mail <username>

When the <username> receives the email, invoke mail, go to the header # matching the mail that got sent out and save the message. Then from the command line :

# uudecode <saved_file_name> will give you the original file
0
 

Author Comment

by:volleyball
ID: 2817929
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

713 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