Quantcast
Viewing all articles
Browse latest Browse all 18

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

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