Thursday, December 23, 2010

UNIX bash script to send thousands of email messages to any address

#---------- Unix shell script that will send 10,000 messages to one single Email ID ---------
#
#!/bin/bash
for i in {1..10000}
do
echo Test Message $i |mailx -s "Test Email Message $i" abcd@company.com
done
#
#----------------------------------------------------------------------------------------------------------------

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home