Is PHP 8.x.x. supported by phpList?

I use phpList for sending mail to the members of my (millers) association.
When I use the PHP-version 7.4.28 everything goes fine.
When I use PHP- version 8.0.17 or 8.1.4 phpList give doesn’t function well.
Two problems under PHP 8.x.x:

  1. when I send mail to 20 email addresses sending breaks off before the end (after 17 for instance).
  2. spaces are added in the text of the mail.
    I give two exemples:
    Text in PHP 7.4.28:
    “dit is veel tekst terug lezend opnieuw gekocht. dit is veel tekst terug lezend opnieuw gekocht. dit is veel tekst terug lezend opnieuw gekocht. dit is veel tekst terug lezend opnieuw gekocht. dit is veel tekst terug lezend opnieuw gekocht.”
    Text in PHP 8.x.x:
    “dit is veel tekst terug lezend opnieuw gekocht. dit is veel tekst teru g lezend opnieuw gekocht. dit is veel tekst terug lezend opnieuw gekoc ht. dit is veel tekst terug lezend opnieuw gekocht. dit is veel t ekst terug lezend opnieuw gekocht. dit is veel tekst terug lezend opni euw gekocht. dit is veel tekst terug lezend opnieuw gekocht.”
    My problem is that PHP 7.2.28 will be no longer supported after November 2022.
    I hope:
    Or, someone can give me a advice which solves this problem
    Or, there will be a version of phpList before November 2022 with a solution for this bug.
    Thanks for reading this and for reactions,
    Fred Prins,
    Dutch miller

@ffprins Which method do you use to process the queue? Through the admin interface or as a cron job?

Have you noticed any problems when using the admin interface to compose campaigns, maintain users etc?

Also, does phplist send through an smtp server or through the php mail function, PHPMAILERHOST in config.php?

Regarding your problem 1), look at the event log page to see any events issued when phplist was processing that campaign. There might be an explanation as why it sent to only 17 subscribers.

Regarding problem 2), look at the html source of the two emails to identify short sequences of where the text is different. When you copy them here use the toolbar code button </> so that it is clearer to see the differences.

Thank you, Duncanc, for your responds.
And thank you for the trace you gave me.
Yes, I use the admin interface, always.
And now I have defined an other smtp.server in the config file,with login, with SSL, with defined port.
After that PHP 8.1.4 works well.
A satisfied Dutch miller,
Fred Prins

@duncanc, problem Aug 18 not solved completely :thinking:.
With your suggestions on Aug 18 the problem of the damaged text was solved; a test mail was well send under PHP 8.x.x
Today I have send a mailing to all the members of my (millers) association. Under PHP 8.x.x no mails were send. Back to PHP-version 7.4.28 and then I succeeded in sending a mailing to the mailing group.
What can be the difference between PHP 7.4.28 and PHP 8.1.4??

Please explain what you mean by this? Look at the Event Log page to see which events phplist logged when you processed the queue.

Thank you @duncanc for your reaction.
I main under PHP 8.x.x no mails are send (that means only the first mail of the mailing list is send and not the others) and under PHP 7.x.x all mails are send.
I give you the Event Log (translated for you, because I am Dutch and the Event Logs are in Dutch too).

  • handling is started
  • one message to handle
  • please don’t close this screen. phpList will handle your order until all messages are send. This can take some time.
  • a report of sending the messages will be send to you by mail
  • handling of message 193
  • looking for members
  • Found: 71 to handle
    And than big silence: nothing has happend after the last 'Found: 71 to handle.
    I cancel transmitting > change the PHP-version of my domain from 8.x.x to 7.x.x and start again sending my message to my members (in half a minute the message is send to all the members).
    Now the Event Log is:
  • handling is started
  • one message to handle
  • please don’t close this screen. phpList will handle your order until all messages are send. This can take some time.
  • a report of sending the messages will be send to you by mail
  • handling of message 193
  • looking for members
  • Found: 70 to handle (now it’s 70, because the first time phpList had send the message to 1 member)
  • 70 of 70 members handled
  • It took 33 seconds to send this message
  • 70 berichten send in 35,50 seconds (7097 messages/hour)
  • Ready with this phase
  • the number of send messages was not big, so the page will be refreshed at once.
    Conclusion: the event log gives no reason for stopping; the event log stops too.
    As I wrote the first time. It is almost a year that I change the PHP-version of my domain (temporary) before sending mails to the members. But in October 2022 PHP 7.x.x will no longer be supported. I am afraid for problems with the website in my domain. So I praying for a phpList update without this problem :pray:t3::pray:t3:

In my post above:
Main = mean

@ffprins It does look like something is failing after sending the first email.
Is there a php error log that you can look at? If you are not sure then raise the problem with your hosting company or system administrator.

You could also try sending using a cron job instead of through the browser. That is the method I use successfully with php 8. See the online manual for an explanation of how to setup a cron job Setting up your Cron | phpList manual