Quantcast
Channel: How to send mail from the command line? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 18

Answer by user142345 for How to send mail from the command line?

$
0
0
mail -s "subjet" -a "attchedfile_name" someone@dest_email.com

or

cat "afile" | mail -s "subject" someone@dest_email.com

Viewing all articles
Browse latest Browse all 18

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>