in reply to Trapping server responses with Net::SMTP
you could useif ( $smtp->status() =~ /^[45]$/ ) {
if ( ! $smtp->ok ) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trapping server responses with Net::SMTP
by yaelc (Novice) on Feb 04, 2009 at 12:22 UTC |