How to create randomly generated emails

--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--
Ryan Munson [ Fr, 14 Oktober 2011 21:51 ] [ ID #2065660 ]

Re: How to create randomly generated emails

--90e6ba6e90264e5b6004af488b06
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Oct 14, 2011 at 2:51 PM, Ryan Munson <ryan.barracuda [at] 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--
Robert Wohlfarth [ Fr, 14 Oktober 2011 23:00 ] [ ID #2065661 ]

Re: How to create randomly generated emails

merlyn [ Di, 18 Oktober 2011 16:14 ] [ ID #2065805 ]
Perl » gmane.comp.lang.perl.beginners » How to create randomly generated emails

Vorheriges Thema: Perl Fork and writing to stdout
Nächstes Thema: regex help