User tests: Successful: Unsuccessful:
It is perfectly valid to have a dotless email address eg brian@example and all our validation rules allow it.
phpmailerdefaults to use PHP built-in FILTER_VALIDATE_EMAIL but this does not support dotless domain names
This PR removes an outdated comment and sets the validtop
r to be html5. This is the same validator used when submitting an email address and supports dotless domains.
The easiest way to test this is with the global config
Set the from email to anything@example and then click the send test mail
button
You will get an error message Invalid address (to): anything@example
Apply this PR and you no longer get the error
Pull Request for Issue #27948
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
I have tested this item
After changing to dotless: Mail accepted. No error message > OK.
But test-mail has not been sent. > ?
Back to origin: it has been sent.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-10 23:15:05 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
thanks
If confirmed as correct then this needs to be backported to joomla 3