you could useif ( $smtp->status() =~ /^[45]$/ ) {
if ( ! $smtp->ok ) {
In reply to Re: Trapping server responses with Net::SMTP
by rhesa
in thread Trapping server responses with Net::SMTP
by fivefiftyone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |