diff --git a/vagrant-util/send-test-mails.sh b/vagrant-util/send-test-mails.sh index 8e57192..d63dedf 100755 --- a/vagrant-util/send-test-mails.sh +++ b/vagrant-util/send-test-mails.sh @@ -15,10 +15,15 @@ if [[ "$1" != "--LETS-REALLY-DO-THIS-AND-SEND-MAIL" ]]; then exit 1; 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 -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 "(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 "(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 "(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 +# Simulate generic emails +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 "(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 "(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 "(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 \ No newline at end of file +# 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 \ No newline at end of file