#1: How to create randomly generated emails
Posted on 2011-10-14 21:51:43 by Ryan Munson
--B_3401452307_1002214
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
Hi all,
I am setting up a test environment where I want to automate randomly
generated emails to a new spam analysis system. I am looking at using Perl
to create a simple environment where I have the following components:
1) Randomly generated Mail From and Rcpt to addresses.
2) Randomly generated subject and body
3) A kickoff time where the script starts and stops=8Bpreferably setup throug=
h
crontab?
Are there any good articles out there or references to lookup on how to
create a simple script that could do the above? I am not asking for someone
to write this for me, but rather suggestions on modules or resources that
are good to read up on for automation.
Currently, I have a script using modules Net::SMTP, Email::Date::Format, an=
d
String Random. The script has static mail from, rcpt to, subject, and body
parts while sending a predetermined number of emails.
Thanks,
--Ryan
--B_3401452307_1002214--
Report this message |
#2: Re: How to create randomly generated emails
Posted on 2011-10-14 23:00:16 by Robert Wohlfarth
--90e6ba6e90264e5b6004af488b06
Content-Type: text/plain; charset=ISO-8859-1
On Fri, Oct 14, 2011 at 2:51 PM, Ryan Munson <ryan.barracuda@elboardo.com>wrote:
> 1) Randomly generated Mail From and Rcpt to addresses.
> 2) Randomly generated subject and body
>
Check out the Data::Random
module<http://search.cpan.org/~adeo/Data-Random-0.05/Random.pm>. It
generates random gibberish and can vary the size (number of words) in each
record.
--
Robert Wohlfarth
--90e6ba6e90264e5b6004af488b06--
Report this message |