phpList 3.5.8 released: new functionalities on the AJAX form


A new version for phpList is now ready for download, introducing several changes. Version 3.5.8 includes three new features two out of which relate to the AJAX subscription form and two functionality enhancements.

You can update your phpList installation using the Automatic Updater, or you can download it directly from Sourceforge.

Changes to look for

New features

  • AJAX-based subscription forms are now able to function across multiple websites. A new config constant called “ACCESS_CONTROL_ALLOW_ORIGINS” has been added which is an array where you can put in your different origins you want to allow. Also, a new header “Vary: Origin” has been added in order to optimize cache control in the case where the array option is used.- thanks to Nepomuk Leutschacher for the implementation. Have a look at the Pull Request.
  • Allow AJAX request to include the list ID. With the AJAX request, you are able to specify a particular list instead of all lists being used. Thanks to Duncan Cameron for the implementation. Have a look at the Pull Request.
  • Export on commandline. With the new changes introduced, phpList admins are able to export data via the commandline. See Pull Request.

Functionality Enhancements

  • Make PHPMailer 6 the default instead of PHPMailer 5. ‘USE_PHPMAILER6’ has been set to Τrue to allow by default the use of PHPMailer 6 instead of PHPMailer 5. PHPMAILER_PATH will be used only when it appears to be valid. For PHPMailer 5 it should be a file and for PHPMailer 6 it should be a directory. Have a look at Pull Request #708 and Pull Request #709 submitted by Duncan Cameron.
  • PHPMailer is updated to Version 6.1.8 which was launched in October 2020. Have a look at the PHPMailer 6.1.8 changelog and the Pull Request. Thanks to Duncan Cameron for the PR.


This release is the work of Duncan Cameron, Nepomuk Leutschacher, and other Open Source community members who have submitted bug reports and valuable feedback, as well as phpList Ltd. developers. To get involved in phpList development, check out the developer resources pages.

Report any issues you find with phpList 4 core or REST API  to the corresponding repo on GitHub. Please read the contribution guide on how to contribute to these modules.


Need help upgrading your phpList server to the newest version? Ask the community at Professional support from community experts, as well as manuals, source code, and developer resources, can be found at Report all bugs to the bugtracker!

Want to focus on campaigns and forget hosting headaches? Sign up at for an account with everything included. Send from 300 free messages to 30 million messages per month — simple.

Leave a Reply