Support

Admin Tools

#40212 Registered user receives message "Could not instantiate mail function" upon requesting emailed authorization code

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.0.2
PHP version
8.1.27
Admin Tools version
7.4.8

Latest post by tampe125 on Monday, 29 January 2024 02:27 CST

Richard Chick

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

 

My site ccorch.org was built using Joomla 4 and recently upgraded to Joomla 5. User accounts are established only by an administrator and MFA is enabled. Everything has been working fine for several weeks until recently it stopped sending 6-digit MFA confirmation codes to registered users. 

Now any attempt to login to front end or back end results in the message "Could not instantiate mail function" being displayed somewhere on the login page. The user will then receive an email telling him that he is logged in but he will not receive the necessary 6-digit confirmation code necessary to enter the site.

I have tried changing the global settings for email on the site from php to smtp and also to sendmail. Any of the email states will successfully send a confirmation that email is working but none will send the necessary 6-digit code.

I'm making one more attempt to send this  through your firewall without the log file which I tried to include

tampe125
Akeeba Staff

Hello,

this message is created directly by your Joomla installation: it means that the mail system of Joomla could not create the mailer object to send out the email.

You should review your mail settings inside Joomla Global Configuration and double check if you can receive the test email.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!