Solved

sendmail

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

707 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

15 Experts available now in Live!

Get 1:1 Help Now