Support

Admin Tools

#40653 setting two emails for notifications gives error

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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Monday, 29 April 2024 07:36 CDT

irishnet

Hello,

Just to let you know that since the 7.5 version if there is two emails set for notifications saving admin tools gives an error and changes are not applied.

The error message: The email address you entered is invalid. Please enter another email address.

I get this on all sites. Some are on Cpanel and others are on cloud servers. Joomla version 5.0.3 and some on Version 5.1.0

Hope this is useful for you.

Regards,

Terry

Β 

Β 

nicholas
Akeeba Staff
Manager

This is an unfortunate limitation of Joomla! itself. Even though RFC 5322 allows for lists of email addresses, Joomla's email field type and the email validation rule do not.

This is not a new thing; it's been the case since Joomla! 4.0, and that's because we moved away from using our own framework, instead using Joomla's own CSS framework. That's why the help text has been changed to read "enter an email address" (singular), instead of previous versions which told you that you can enter a list of email addresses.

If you want to send to multiple email addresses you need to create a mail forwarder in your site's hosting control panel. For example, you could have the forwarder address [email protected] which forwards to [email protected], [email protected], and [email protected]. Therefore, putting the address [email protected] in the Configure WAF page would end up emailing all three addresses.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

irishnet

Thank you Nicholas,

I missed that change but will adopt your solution as it is perfect.

Best regards,

Terry

nicholas
Akeeba Staff
Manager

You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
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!