https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38338 Olivier Hubert <olivier.hubert@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Needs Signoff --- Comment #71 from Olivier Hubert <olivier.hubert@inlibro.com> --- Important: currently only the CCG flow is supported. The other flows need to be implemented and tested. Test plan 0. Determine which email address will be receiving the test email. 1. Install the required dependencies if they are not already installed: 1.1. sudo cpanm Authen::SASL@2.1800 1.2. sudo cpanm Email::Sender@2.601 2. Apply the patch. 3. Update the database, by running the following command in the Koha git directory: 3.1. perl installer/data/mysql/updatedatabase.pl 3.2. perl build-resources.PL 4. Restart Plack, if Plack is running. 5. In the Intranet, navigate to the SMTP Servers page. For example, the link is available in the Administration page, under the "Additional parameters" section. 6. Create or update an SMTP server to use XOAUTH2 authentication. Specifically fill the following fields: 6.1. User name: use the email address that will be used to generate the OAUTH token. 6.2. Authentication type: OAUTH 6.3. OAUTH server type: Client Credentials Grant 6.4. Token URL: the complete URL (with Tenant ID if needed) to the /token endpoint for the server. 6.5. Scope: the complete scope that will be used to obtain the token. 6.6. Client ID: the client ID that will be used to obtain the token. 6.7. Client secret: the client secret that will be used to obtain the token. 6.8. Adapt the other parameters according to your SMTP server's specifications. 7. Update system preferences to send from the email specified in step 6.1. 7.1. In particular, KohaAdminEmailAddress should be using that email. 7.2. Ensure that SendAllEmailsTo is configured to the email address that is used for the test (step 0). 8. Open the profile of any patron, for example: Henry Acevedo (23529000035676). 9. Edit and save the profile to add any email address as a primary email, if there isn't one already. 10. From the "Plus" menu, select the option to "Send welcome notice". 11. From the command line, run the following command in the Koha git directory: 11.1. perl ./misc/cronjobs/process_message_queue.pl 12. Check the email account used at step 0 to confirm that the email was received correctly. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.