Use the Mailer option 'SMTP'
Global Configuration - Server - Mail Settings - Send Test Mail
The test email is sent and received.
Message on remote Linux site:
"Warning - The email was sent to xxx@xxx.xx but using PHP Mail as a fallback. You should check that you have received the test email."
Windows localhost site:
Note: Could not start mail function
Error: Test mail could not be sent
PHP 7.4.12
Test mail used to work in 3.9.22. The Windows 10 workstation also has Joomla 4 Beta6-dev of 25 November, where the mail test works perfectly all right using the same Gmail SMTP settings as the 3.9.23 localhost site.
Forum topic "Mail test: Warning - The email was sent but using PHP Mail as a fallback" at https://forum.joomla.org/viewtopic.php?f=728&t=983212
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.
then I think "Send Test Mail" should pick stored PW from config then, automatically, if user send empty
I can confirm its definitely sending via SMTP when private messages etc are being sent but its just falling back on the SMTP test
then I think "Send Test Mail" should pick stored PW from config then, automatically, if user send empty
The feature of "Send Test Mail" is that you can test new configurations without saving them ;-)
yeap, but it also used for test existing configuration ;)
It need to support both cases somehow
jsst remove the password that get send to the ajax request so we need a secure way to get it back for this function
I came across this too yesterday, with a slightly different text response after sending the test mail.
"Varning
Mailet har nu skickats till xxx@xxx.xx med PHP Mail. Du bör kontrollera att du har tagit emot testmailet."
-> In English:
"Warning
The email was sent to xxx@xxx.xx using PHP Mail. You should check that you have received the test email."
The Swedish translation mentions nothing about PHP Mail being a fallback?! - and therefore I assume that SMTP wasn't used for proper transport of the test mail, but instead it was sent via PHP Mail.
Many web hosts in Sweden close down sites that are using PHP Mail to prevent spam, therefore sending via SMTP becomes crucial for these clients. Hope this finds a solution in the near future.
It's only the test message and not normal messages. We hopefully have a fix for 3.9.24
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-11-28 09:36:06 |
Closed_By | ⇒ | richard67 |
I can confirm this. I took a working 3.9.22 site that used sendmail. I tested the mail and it did the test as usual. I then updated the site to 3.9.23 and tried to send the test mail again and I recieved this
The email was sent to xxx@xxxxxxxxxx.com but using PHP Mail as fallback. You should check that you've received the test email.
The only change was the updating of Joomla from 3.9.22 to 3.9.23
I am using php 7.4.11 on that server