Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command to send email
- ssmtp recipient_name@gmail.com < filename.txt
- filename.txt content :
- To: recipient_name@gmail.com
- From: username@gmail.com
- Subject: Sent from a terminal!
- Your content goes here. Lorem ipsum dolor sit amet, consectetur adipisicing.
- (Notice the blank space between the subject and the body.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement