meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:oauth2 [2024/08/03 08:26] – [The Settings page] duncanc | plugin:oauth2 [2025/07/08 08:04] (current) – [Changes to config.php] duncanc | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== Installation ===== | ===== Installation ===== | ||
- | You need to enable | + | The plugin requires php version 8 and phpList version 3.6.14 or later. |
- | https:// | + | |
+ | You also need to install and enable | ||
+ | https:// | ||
Install this plugin using the package URL | Install this plugin using the package URL | ||
https:// | https:// | ||
- | |||
Line 55: | Line 56: | ||
The plugin uses a package, php-imap2, to retrieve emails from the mailbox. Unlike the php IMAP extension the package does not support POP3, only IMAP. Therefore the mailbox connection settings in config.php will probably need to be changed. For example for Gmail use | The plugin uses a package, php-imap2, to retrieve emails from the mailbox. Unlike the php IMAP extension the package does not support POP3, only IMAP. Therefore the mailbox connection settings in config.php will probably need to be changed. For example for Gmail use | ||
- | '' | + | <code php> |
- | $bounce_mailbox_port = ' | + | $bounce_mailbox_host = ' |
+ | $bounce_mailbox_port = ' | ||
+ | </ | ||
instead of | instead of | ||
- | '' | + | <code php>$bounce_mailbox_host = ' |
- | $bounce_mailbox_port = ' | + | $bounce_mailbox_port = ' |
+ | |||
+ | See the documentation for the [[plugin: | ||
==== The Settings page ==== | ==== The Settings page ==== | ||
Line 75: | Line 81: | ||
https:// | https:// | ||
- | ===== Use Oauth2 when sending using SMTP ===== | + | |
+ | === Redirect URL with Microsoft Azure === | ||
+ | |||
+ | Microsoft has restrictions on whether the redirect URL may contain query parameters, see [[https:// | ||
+ | |||
+ | If your account means query parameters in the redirect URL are not allowed then the default value shown above will be rejected when you try to add it within Azure. You will need to use an htaccess redirect rule to work-around this. | ||
+ | |||
+ | In Azure set the redirect URL to something similar to '' | ||
+ | |||
+ | < | ||
+ | # OAuth2 plugin | ||
+ | RewriteCond %{REQUEST_URI} | ||
+ | RewriteRule ^(.*)$ https:// | ||
+ | </ | ||
+ | |||
+ | === Use Oauth2 when sending using SMTP === | ||
You can select to use OAuth2 verification, | You can select to use OAuth2 verification, | ||
Line 147: | Line 168: | ||
</ | </ | ||
- | To stop logging simply change DEBUG to OFF. | + | To stop logging simply change |