It appears that PHP-IMAP Extension is finished, at least for Fedora branch, as of PHP 7.4. See https://bugzilla.redhat.com/show_bug.cgi?id=1956278
Is there any alternative package which is being considered for Projeqtor, from PHP 8.0 and beyond?
Cheers.
Hi,
We do not plan to replace php-imap.
It would be a great work on projeqtor, and php-imap is removed only from some distro (Fedora, OpenSuse) which are mostly used for desktops rather than for servers.
You can retreive php-imap from external sources ( https://fedora.pkgs.org/34/remi-x86_64/php74-php-imap-7.4.19-1.fc34.remi.x86_64.rpm.html)
php-imap isn't available on servers too.
For example all Entreprise Linux based :
Red Hat, CentOS, Rocky... and in my case Oracle Linux.
There is security issue in the thread management.
Tried Remi but can't be installed because system doesn't match prerequistes by design.
Want to try PECL but need PHP 8.3.
Projeqtor compatibility matrix doesn't hnow PHP 8.3.
What do you suggest ?
Projeqtor compatibility matrix doesn't snow PHP 8.3.
PHP8.3 compatibility comes with ProjeQtOr V11.2, which becomes stable today with ptch 11.2.2.
PHP-IMAP shoumd not be required on PHP8.1 as it is included in the Core.
It will be moved to PECL in PHP8.4 ( https://php.watch/versions/8.4/imap-unbundled)
It is not in the core of php 8.1 for Entreprise Linux.
Do you intend to implement Webklex/php-imap ?
Hi,
This is not really in the scope.
But we plan to improve our imap model to allow oAuth2 authentification, so Webklex/php-imap may be an aternative
Hello,
I switched to php8.2 remi.
Unfortunately it's worst.
Sending SMTP doesn't work anymore:
2024-04-29 12:42:17.871 ** ERROR ** [V10.3.6] PHPMail error : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2024-04-29 12:42:17.871 ** ERROR ** [V10.3.6] PHPMail debug :
Troubleshooting tells to not mix SMTPS or STARTTLS but there is no way to select one of these in Projeqtor 10.3.6.
After switching to PHP 8.2, the first error was :
2024-04-29 10:58:25.811 ** ERROR ** [V10.3.6] cause = nl2br(): Passing null to parameter #1 ($string) of type string is deprecated
As the first null parameter was username, I set username/password and error became 'smtp failed to connect'.
I followed troubleshooting all was ok except missing sendmail (not neede in php 8.0).
But still error smtp.
I have deleted user/password and it WORKS. PHP8.2 need sendmail.
It seems when you set username/password in Projeqtor, it activates encryption but you cannot select STARTTLS against SMTPS. I don't know how Projeqtor select one.
I hope this is not based on port number because we use a custom port xx25, for internal mailing.
PHP8.2 need sendmail.
If you set smtp server to localhost, yes sendmail is required.
If you sent it to another server, this server requires some smtp sending method (sendmail or else)
This is not specific to PHP8.2
you cannot select STARTTLS against SMTPS
You can, just specify protocole on server name : tls://yourserver or ssl://yourserver
I do not use localhost and I needed sendmail in 8.2 like in
I tried tls:// to use STARTTLS but smtp failed
I do not use localhost and I needed sendmail in 8.2 like in
www.projeqtor.org/fr/forum-fr/5-ask-ques...side-projeqtor#37354
On the linked source I can read
2024-04-23 19:53:09.151 ** ERROR ** [V11.1.3] SMTP Server : localhost
So it seems you use localhost