Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail -s "Some random subject" -a "From: [email protected]" [email protected]
- mail -s Subject -S [email protected] [email protected]
- echo 'my message blablanSecond line (optional of course)' |
- mail -s "Your message title"
- -r 'Your full name<[email protected]>'
- -Sreplyto="[email protected]"
- apt-get install mailutils
- $mail -s "Subject" [email protected]
- From: Joel <[email protected]>
- Hi!
- .
- -aFrom:[email protected]
- cat /root/Reports/ServerName-Report-$DATE.txt | mail -s "Server-Name-Report-$DATE" [email protected] -aFrom:[email protected]
- echo "This is the main body of the mail" | mail -s "Subject of the Email" [email protected] -- -f [email protected] -F "Elvis Presley"
- echo "This is the main body of the mail" | mail -s "Subject of the Email" [email protected] -aFrom:"Elvis Presley<[email protected]>"
- echo "Sample body" | mail -s "Test email" [email protected] [email protected]
- $ echo -e "testing email via yourisp.com from command linennsent on: $(date)" | mailx -r "Foghorn Leghorn <[email protected]>" -s "test cli email $(date)" -- [email protected]
Add Comment
Please, Sign In to add comment