I am running WordPress 6.3.1 and PHP version 7.4.13. I didn’t receive the email for a new site being setup, and when new users get registered. I tried sending an email using wp\_mail, but it didn’t go through. I got the following error:
mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I do have the SMTP set to our mailserver in the php.ini, so not sure what is going on. I do have some older sites running PHP 5.2 with the same settings, and those send mail fine.
Any help or suggestions are appreciated.
[ad_2]