Posted By

webonomic on 12/03/09


command mail line

Versions (?)

Send email using mail command on linux

 / Published in: Bash

This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.

  1. mail -s "My subject line" < emailbody.txt

Report this snippet  

You need to login to post a comment.