From 0fdec5f71fd0ba4920551473c1665744e9b2ee4a Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Fri, 16 Sep 2016 10:42:59 -0300 Subject: Add script to send mail to multiple users for testing --- service/test/load/send_emails_batch.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 service/test/load/send_emails_batch.sh diff --git a/service/test/load/send_emails_batch.sh b/service/test/load/send_emails_batch.sh new file mode 100755 index 00000000..80c28279 --- /dev/null +++ b/service/test/load/send_emails_batch.sh @@ -0,0 +1,7 @@ +#!/bin/bash +for user in `seq $1`; do + echo "Sending $2 mails for user loadtest$user" + for email in `seq $2`; do + sendemail -f loadtest${user}@dev.pixelated-Project.org -t loadtest${user}@dev.pixelated-project.org -u Hello$email -m Ha$email + done +done -- cgit v1.2.3