App::SpamcupNG::Summary::Receiver - representation of a SPAM report receiver
This class was created to facilitate the handling of submitted SPAM reports for the interested parties. Sometimes a party doesn't actually receive a report and that is expected by design.
Sometimes a SPAM report is not sent to an e-mail address, Spamcop calls that "devnull'ing": the report is just stored for statistical reasons, no real e-mail address receive the report.
In those cases, only the indication of the domain that would receive the SPAM report is stored, without a report sent ID (actually this ID exists, but the web interface does not exports that info).
Creates a new instance.
Expects as parameter a array reference, where the first index is the "email" and the second the SPAM report sent ID.
The first parameter cannot be undef, while the second is acceptabled.
undef
Returns the receiver attributes as strings, separated by commas.
If some of attributes are undef, the string not avaialable will be used instead.
not avaialable
Returns true (1) if the receiver was stored for statistics only or if it was indeed reported to a domain, false (0) otherwise.
Class::Accessor
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This software is copyright (c) 2018 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This file is part of App-SpamcupNG distribution.
App-SpamcupNG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
App-SpamcupNG is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with App-SpamcupNG. If not, see <http://www.gnu.org/licenses/>.
To install App::SpamcupNG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::SpamcupNG
CPAN shell
perl -MCPAN -e shell install App::SpamcupNG
For more information on module installation, please visit the detailed CPAN module installation guide.