Use example.com properly, add more examples

This commit is contained in:
Jan Philipp Timme 2019-01-26 19:11:30 +01:00
parent 37a72dc999
commit 766453952f

View File

@ -15,10 +15,15 @@ if [[ "$1" != "--LETS-REALLY-DO-THIS-AND-SEND-MAIL" ]]; then
exit 1; exit 1;
fi fi
echo "(1) This is a very plain and simple email for testing purposes." | mail -s "First testmail" -r localsender1@local.example.com first-mail@example.com # Simulate generic emails
echo "(2) This is a very plain and simple email for testing purposes." | mail -s "Second testmail" -r localsender2@local.example.com second-mail@example.com echo "(1) This is a very plain and simple email for testing purposes." | mail -s "First testmail" -r localsender1@example.com first-mail@example.com
echo "(3) This is a very plain and simple email for testing purposes." | mail -s "Third testmail" -r localsender3@local.example.com third-mail@example.com echo "(2) This is a very plain and simple email for testing purposes." | mail -s "Second testmail" -r localsender2@example.com second-mail@example.com
echo "(4) This is a very plain and simple email for testing purposes." | mail -s "Fourth testmail" -r localsender4@local.example.com fourth-mail@example.com echo "(3) This is a very plain and simple email for testing purposes." | mail -s "Third testmail" -r localsender3@example.com third-mail@example.com
echo "(5) This is a very plain and simple email for testing purposes." | mail -s "Fifth testmail" -r localsender5@local.example.com fifth-mail@example.com echo "(4) This is a very plain and simple email for testing purposes." | mail -s "Fourth testmail" -r localsender4@example.com fourth-mail@example.com
echo "(5) This is a very plain and simple email for testing purposes." | mail -s "Fifth testmail" -r localsender5@example.com fifth-mail@example.com
echo "Let's try an email with an attachment" | mail -s "This email contains an attachment" -r attachments@filepush.example.com -A /vagrant/main.go files@receiver.example.com # Simulate emails with attachments
echo "Let's try an email with an attachment" | mail -s "This email contains an attachment" -r attachments@example.com -A /vagrant/main.go files@example.com
# Simulate emails for multiple recipients
echo "I send to multiple people at once" | mail -s 'Hey all!' -r 'multirecip@example.com' one@example.com two@example.com three@example.com four@example.com five@example.com