Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and want to just have 1 retry. Basically I want it to stop trying sooner than it is doing now. Where and what can I add to my mail to do this??retrying in 1 seconds... retrying in 1 seconds...
my %mailnotif = ( To => 'toname@where.com', From => 'fromname@where.com', Subject => "info", Message => "stuff here.", ); $mailnotif{smtp} = '111.111.11.111'; sendmail(%mailnotif) || die "\nProblem! $Mail::Sendmail::error +\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cutting back retry attempts
by Taulmarill (Deacon) on Oct 09, 2003 at 14:32 UTC |