meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:imap2 [2025/01/22 11:41] – [Use IMAP instead of POP3] duncancplugin:imap2 [2025/02/08 11:00] (current) – [Usage] duncanc
Line 11: Line 11:
 This plugin uses the javanile/php-imap2 package to emulate the php imap_xxx functions that are used by phplist for bounce processing. This plugin uses the javanile/php-imap2 package to emulate the php imap_xxx functions that are used by phplist for bounce processing.
  
-From version 8.4 php does not include the IMAP extension, which provides those functions. This plugin provides an alternative implementation that will allow the phplist bounce processing to continue.+Those functions are provided by the IMAP extension, but that extension has been removed in php version 8.4. This plugin provides an alternative implementation that will allow phplist to continue processing bounces.
  
-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.
  
  
Line 25: Line 25:
  
 === Use of localhost === === Use of localhost ===
-Using ''localhost'' for the bounce mailbox host does not work, the server name should be used instead. For example instead of +Using ''localhost'' for the bounce mailbox host is not supported, the server name should be used instead. For example instead of 
  
 <code php>$bounce_mailbox_host = 'localhost';</code> <code php>$bounce_mailbox_host = 'localhost';</code>
Line 32: Line 32:
  
 === Use IMAP instead of POP3 === === Use IMAP instead of POP3 ===
-The php-imap2 package supports only the IMAP protocol, not the POP3 protocol. The phplist bounce processing will work with the IMAP protocol but you need to ensure that the mailbox port is set correctly in the config.php file.+The php-imap2 package supports only the IMAP protocol, not the POP3 protocol. This is compatible with the phplist bounce processing and should not be a problem. 
 + 
 +The plugin will detect when POP3 is trying to be used and change the port and protocol to the equivalent IMAP values but for clarity you may want to change the setting in the config.php file. You might also need to change the value of ''$bounce_mailbox_host'' because that might differ between POP3 and IMAP.
  
 For example, if you currently access the mailbox using POP3 For example, if you currently access the mailbox using POP3
Line 50: Line 52:
 <code php>$bounce_mailbox_port = '993/imap/ssl';</code> <code php>$bounce_mailbox_port = '993/imap/ssl';</code>
  
-However, the plugin will detect when POP3 is trying to be used and change to the equivalent IMAP setting.+