Mail::MtPolicyd::Client::Response - a postfix policyd client response class
version 1.14
Class to handle a policyd response.
use Mail::MtPolicyd::Client::Response; my $response = Mail::MtPolicyd::Client::Response->new_from_fh( $conn ); -- my $response = Mail::MtPolicyd::Client::Response->new( action => 'reject', attributes => { action => 'reject', }, ); print $response->as_string;
Constructor which reads a response from the supplied filehandle.
Returns a stringified version of the response.
The action specified in the reponse.
Holds a hash with all key/values of the response.
Markus Benning <ich@markusbenning.de>
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install Mail::MtPolicyd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::MtPolicyd
CPAN shell
perl -MCPAN -e shell install Mail::MtPolicyd
For more information on module installation, please visit the detailed CPAN module installation guide.