Perl error response

S

sln

Hello,
I wish to reply to the adminstrator on a continous
24 x 7 loop.

The originating message is:
"You are banned from the system.
If you believe you are seeing this page in error, contact the administrator
"

I wish to send a reply continuously in a loop in a perl program.
Any quick way to do this?

-sln
 
M

Marc Girod

Any quick way to do this?

use Mail::Sendmail;
....
my %mail = (To => $admin,
From => $banned,
Subject => $as_requested,
Message => $msg);
while(1) {sendmail(%mail) or warn $Mail::Sendmail::error; sleep 5;}

Is that what you were asking?
I guess she'll stop to send you mail,
and you'll get banned, indeed.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top