Kernel::WebApp::Controller::API::Role::Utils::HandlesRecoveryEmailSecurity

NAME

Kernel::WebApp::Controller::API::Role::Utils::HandlesRecoveryEmailSecurity – Role that provides methods for the recovery email security handling.

PUBLIC INTERFACE

EmailSecurityOptionsGet()

Returns security options suitable for encrypting emails when using Send() method.

    my $SecurityOptions = $Self->EmailSecurityOptionsGet(
        UserType    => '(customer|agent)', # (required) Current user type.
        FromEmail   => $FromEmail,         # (required) Sender email address.
        ToEmail     => $ToEmail,           # (required) Recipient email address.
        HasHTMLBody => 1,                  # (optional) Whether the message contain an HTML body.
    );
Scroll to Top