Hi!
> If I understand correctly, you just want to pause between sending your
> mails so that the ISP doesn't interpret you as a spammer, right? You
> can do that like this:
Yep.. thats the point :-)
>
> use Mail::Sendmail;
Load Module. Can I save it in my working dir? /home/unmada/MailP/?
> $i = 100;
number of mails..
> while ($i--) {
> $body_of_message = ...;
iteration..
>
> %mail = ( To => '[EMAIL PROTECTED]',
> From => '[EMAIL PROTECTED]',
> Subject => 'mailadds, group ' . (100 - $i + 1),
> Message => $body_of_message,
> );
mail constructor..
> sendmail(%mail) or die $Mail::Sendmail::error;
send mail and print errors
> print "OK. Log says:\n", $Mail::Sendmail::log;
Load to log..
>
> sleep 1; # Wait 1 second before sending next batch
sleed one second..
> }
Thanks! I was thinking in this option, but also Im looking for a second
option, to know if In sendmail I could manage the threads (to send each mail,
each 5 seconds).. I know this is a perl list, but.. does someone knows if I
can?
thanks!
Pablo
--
Pablo Fischer Sandoval ([EMAIL PROTECTED])
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]