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:imap2 [2025/01/22 14:13] – [Purpose] duncanc | plugin:imap2 [2025/05/29 10:39] (current) – [Installation] duncanc | ||
---|---|---|---|
Line 11: | Line 11: | ||
This plugin uses the javanile/ | This plugin uses the javanile/ | ||
- | Those functions are provided by the IMAP extension, but that extension has been removed | + | Those functions are provided by the IMAP extension, but that extension has been removed |
- | This plugin can be used with php versions prior to 8.4 if the hosting provider does not provide the IMAP extension. | + | This plugin can also be used with php versions prior to 8.4 if the hosting provider does not provide the IMAP extension. |
- | If your php configuration already includes the IMAP extension then you do not need this plugin. | + | If your php configuration already includes the IMAP extension then you do not need this plugin. The plugin can be installed but will not have any effect. |
===== Installation ===== | ===== Installation ===== | ||
- | See the README file on the GitHub | + | Install |
+ | | ||
+ | |||
+ | Then enable | ||
===== Usage ===== | ===== Usage ===== | ||
Line 32: | Line 35: | ||
=== Use IMAP instead of POP3 === | === Use IMAP instead of POP3 === | ||
- | The php-imap2 package supports only the IMAP protocol, not the POP3 protocol. This is compatible with the phplist bounce processing. | + | The php-imap2 package supports only the IMAP protocol, not the POP3 protocol. This is compatible with the phplist bounce processing |
- | The plugin will detect when POP3 is trying to be used and change to the equivalent IMAP settings | + | The plugin will detect when POP3 is trying to be used and change |
For example, if you currently access the mailbox using POP3 | For example, if you currently access the mailbox using POP3 | ||
Line 53: | Line 56: | ||
+ | === Debugging === | ||
+ | |||
+ | You can log the dialogue with the mail server by including ''/ | ||
+ | |||
+ | <code php> | ||
+ | |||
+ | and by setting a variable in config.php | ||
+ | |||
+ | <code php> | ||
+ | ' | ||
+ | ];</ | ||
+ | |||
+ | Now the plugin will write the dialogue to a file in the phplist temporary directory, identfied by the '' | ||
+ | |||
+ | Alternatively you can specify a particular directory for the log file. The directory must be writeable by the web server process. | ||
+ | <code php> | ||
+ | ' | ||
+ | ' | ||
+ | ];</ | ||
+ | The dialogue will be logged similar to this | ||
+ | < | ||
+ | [06:33:10] [debug] [BC29] S: * OK Gimap ready for requests from 87.115.225.95 h41mb25057261wmp | ||
+ | [06:33:10] [debug] [BC29] C: A0001 CAPABILITY | ||
+ | [06:33:10] [debug] [BC29] S: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER | ||
+ | </ | ||