App-SpamcupNG
view release on metacpan or search on metacpan
lib/App/SpamcupNG/Error/LoginFailed.pm view on Meta::CPAN
App::SpamcupNG::Error::LoginFailed - an Error subclass that represents a login
attempt that failed.
=head1 SYNOPSIS
See L<App::SpamcupNG::Error::Factory> instead of creating it manually.
=head1 DESCRIPTION
A login failed means there is a problem with your Spamcop account credentials.
=head1 METHODS
=head2 new
Creates a new instance.
Expects as parameter an array reference containing the bounce error message.
A instance of this class is always considered as fatal.
lib/App/SpamcupNG/UserAgent.pm view on Meta::CPAN
}
else {
$logger->warn($status);
if ( ($password) and ( $is_basic == 0 ) ) {
$logger->warn('Retrying with basic authentication');
return $self->login( $id, $password, 1 );
}
$logger->die(
'Cannot connect to server or invalid credentials. Please verify your username and password and try again.'
);
}
return undef;
}
=head2 spam_report
Fetches a SPAM report.
( run in 0.322 second using v1.01-cache-2.11-cpan-a5abf4f5562 )