Solved

sendmail

Posted on 2000-05-17
2
377 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: 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

Title # Comments Views Activity
aix tls version 6 417
How to check files recursively from multiple directories and get latest file in bash script 6 107
How to Insert a File Using Text Editor 9 92
awk sed 8 63
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.

809 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