NAME

Mail::BIMI::Result - Class to model a BIMI result

VERSION

version 3.20210512

DESCRIPTION

Class for representing a BIMI result

ATTRIBUTES

These values are derived from lookups and verifications made based upon the input values, it is however possible to override these with other values should you wish to, for example, validate a record before it is published in DNS, or validate an Indicator which is only available locally

comment

is=rw

Text comment

error

is=rw

Optional Mail::BIMI::Error object detailing failure

headers

is=rw

Hashref of headers to add to message

result

is=rw

Text result

EXTENDS

METHODS

domain()

Return the domain of the current operation

selector()

Return the selector of the current operation

set_result($result)

Set the result text and comment for this Result object

If $result is a Mail::BIMI::Error object then the result will be built from its attributes, otherwise the result must be a string.

get_authentication_results_object()

Returns a Mail::AuthenticationResults::Header::Entry object with the BIMI results set

get_authentication_results()

Return the BIMI Authentication-Results fragment as text

REQUIRES

AUTHOR

Marc Bradshaw <marc@marcbradshaw.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Marc Bradshaw.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.