Good morning,
I upgraded my sites to Joomla! ver. 3.9.23 and I made the test of sending email via
backend-> global configuration -> Server the "Email Function" settings are set to SMTP with all fields filled in correctly to send emails from the site in fact before the last update by clicking on the "Send test mail" button appeared in high the message with a green background for sending the email successfully, now the message appears on a yellow background:
"Warning - The email was sent to [email protected] but using PHP Mail as a fallback. You should check that you have received the test email."
ps: I replaced the real email address with "x".
I think it is a wrong "Attention" message as I checked the test emails and those sent by a form installed on the site that uses the Joomla! and in the header of the test email there is "893: class.phpmailer.php" while in the header of the form email does not appear the words "893: class.phpmailer.php".
In this way, however, the usefulness of the test is lost as apparently it no longer verifies the SMTP settings entered as it always sends with the PHP mail function.
Mail test: Warning - The email was sent but using PHP Mail as a fallback Topic is solved
Moderator: ooffick
Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Nov 25, 2020 10:20 am
Mail test: Warning - The email was sent but using PHP Mail as a fallback
Last edited by toivo on Wed Nov 25, 2020 11:00 am, edited 1 time in total.
Reason: mod note: moved from 3.x General Questions
Reason: mod note: moved from 3.x General Questions
- toivo
- Joomla! Master
- Posts: 17370
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Mail test: Warning - The email was sent but using PHP Mail as a fallback
Welcome to the Joomla forum!
It looks like you found a bug that was somehow introduced in Joomla 3.9.23.
Confirmed the behaviour on a remote site. A localhost site on Windows 10 has also stopped working:
The same workstation runs Joomla 4 Beta6-dev with the same SMTP settings and sends the test mail all right.
It looks like you found a bug that was somehow introduced in Joomla 3.9.23.
Confirmed the behaviour on a remote site. A localhost site on Windows 10 has also stopped working:
The same workstation runs Joomla 4 Beta6-dev with the same SMTP settings and sends the test mail all right.
You do not have the required permissions to view the files attached to this post.
Toivo Talikka, Global Moderator
- toivo
- Joomla! Master
- Posts: 17370
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Mail test: Warning - The email was sent but using PHP Mail as a fallback
Reported the bug at https://issues.joomla.org/tracker/joomla-cms/31482.
Toivo Talikka, Global Moderator
- toivo
- Joomla! Master
- Posts: 17370
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Mail test: Warning - The email was sent but using PHP Mail as a fallback
Here is the explanation of the new behaviour, probably in relation to one of the security fixes, still to be assigned a CVE number:
The SMTP password is greyed out in the Mail Configuration. Enter it again and the test mail is sent all right.The reason for this is the new security feature to not display the smtp (and all other) passwords again in the configuration.
This means you have to reenter your password to test it normal operation should work fine.
Toivo Talikka, Global Moderator
-
- Joomla! Explorer
- Posts: 285
- Joined: Thu Jun 10, 2010 12:38 pm
- Contact:
Re: Mail test: Warning - The email was sent but using PHP Mail as a fallback
I tried this and it wouldn't work. (Multiple accounts.) The only way i could get SMTP mail to be sent is by not requiring authentication. I prefer to use SMTP mail rather than php mail. Isn't that what's recommended?
- toivo
- Joomla! Master
- Posts: 17370
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Mail test: Warning - The email was sent but using PHP Mail as a fallback
SMTP mail continues to work all right, for example Mass Mail. The only difference in 3.9.23 is the absence of the SMTP password from the form when Global Configuration is displayed.
If you want to send the test mail, just enter the correct password and click the button.
If you want to send the test mail, just enter the correct password and click the button.
Toivo Talikka, Global Moderator
- DaveOzric
- Joomla! Ace
- Posts: 1591
- Joined: Sat May 22, 2010 10:29 pm
- Contact:
Re: Mail test: Warning - The email was sent but using PHP Mail as a fallback
Updated to 3.9.24 and the issue is resolved on my sites.