Advertisement
peetaur

sendmail command line send email

Jul 8th, 2013
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. cat <<EOF | sendmail -t
  2. TO: you@example.com
  3. FROM: me@sample.com
  4. SUBJECT: This is a test email
  5.  
  6. This is the body of the email.
  7. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement