Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

sendmail

What  is the command line to execute a sendmail with an attachment to a user?
0
volleyball
Asked:
volleyball
1 Solution
 
roy911Commented:
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
 
volleyballAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now