https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38338

--- Comment #29 from David Cook <[email protected]> ---
(In reply to David Cook from comment #28)
> Ok, so I did a little sort of standalone proof-of-concept within
> koha-testing-docker...

The test.pl script is simple enough. Here are the key parts:

my $sasl = Authen::SASL->new(
    mechanism => 'XOAUTH2',
    callback  => {
        user => $gmail_user,
        pass => $access_token,
    },
);

my $transport = Email::Sender::Transport::SMTP->new({
    host          => 'smtp.gmail.com',
    port          => 587,
    ssl           => 'starttls',
    sasl_authenticator => $sasl,
    timeout       => 60,
    debug         => 1,
});

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to