Mail::MtPolicyd::Client::Response3pm
A postfix policyd client response class
Version
version 2.05
Overview
Class to handle a policyd response.
Synopsis
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;
Methods
new_from_fh( $filehandle )
|
Constructor which reads a response from the supplied filehandle. |
|---|---|
as_string
|
Returns a stringified version of the response. |
Attributes
action (required)
|
The action specified in the response. |
|---|---|
attributes
|
Holds a hash with all key/values of the response. |
Copyright and license
This software is Copyright (c) 2014 by Markus Benning <[email protected]>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.