Verify that phpmail will send emails on a your server with Joomla 3. You can use either the test button in global configuration or create a new user in the admin or the contact form on the front end
Once you have verified that it phpmail works on your server with joomla 3 - try the same with joomla 4 on the same server
Test button in global configuration returns the following error message
The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.
Creating a new user in the admin returns the following error message
Save failed with the following error: Could not instantiate mail function.
This last message reveals TWO issues
the save was successful - it was only the sending of the mail that failed
(in J3 there would be TWO messages - one a successs on the save and one a fail on the mail)
the string "Could not instantiate mail function" comes directly from phpmailer
BUT it should be being converted to a joomla string with this code here
I suspect that fixing point 2 above will fix point 1 as well.
Sending a contact on the front end
As expected from the other tests it doesnt work and we get a 500 Could not instantiate mail function.
Labels |
Added:
?
|
Category | ⇒ | com_plugins |
Status | New | ⇒ | Discussion |
Build | staging | ⇒ | 4.0-dev |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-06 19:43:10 |
Closed_By | ⇒ | brianteeman |
See #19072 for part of this. There's a PHPMailer bug fix (B/C break) from over a year ago that looks to have broken the code.