Solved

sendmail

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux : adding the new user with password option, 11 132
Convert OverPunch 25 68
Access Required to Read Linux Security Settings and User Permissions 13 159
awk sed variable in file 3 110
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

710 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