Steps to reproduce the issue
In configuration, if email domain name contains accented characters, test mail doesn't send any mail, nore display any message (no success message, no error message).
Other use of phpmailer will throw "This is already a Punycode string" error.
Expected result
Test message sent and success message displayed.
Actual result
No error message, no email sent
System information (as much as possible)
Joomla 4.0.4,
Additional comments
When trying to send mail via phpmailer, libraries/vendor/algo26-matthias/idna-convert/src/Punycode/ToPunycode.php throw AlreadyPunycodeException, so email sending process stops.
As email is stored in database in 'punycode format', phpmailer will never send mail.
Replacing line 37 "throw new AlreadyPunycodeException('This is already a Punycode string', 100);" by "return false" should solve this issue.
Steps to reproduce the issue
In configuration, if email domain name contains accented characters, test mail doesn't send any mail, nore display any message (no success message, no error message).
Other use of phpmailer will throw "This is already a Punycode string" error.
Expected result
Test message sent and success message displayed.
Actual result
No error message, no email sent
System information (as much as possible)
Joomla 4.0.4,
Additional comments
When trying to send mail via phpmailer, libraries/vendor/algo26-matthias/idna-convert/src/Punycode/ToPunycode.php throw AlreadyPunycodeException, so email sending process stops.
As email is stored in database in 'punycode format', phpmailer will never send mail.
Replacing line 37 "throw new AlreadyPunycodeException('This is already a Punycode string', 100);" by "return false" should solve this issue.