Redirecting output to email
- by Alpha
I am aware that in Windows you can use the following snippet to redirect the output of a command line tool to the clipboard:
mytool | clip
Also, it can be done with files:
clip < myFile.txt
I also know Windows has several other devices you can use as output / input for these redirections (probably the printer is the most famous of them).
However, is there something to send the text to the default email program?
I would love to find that there is something like: mytool | email. Is there something alike?