Either I get an error on saving, that the email is wrong or sending an email works.
Sending an email fails, because Joomla! validation uses the Email ruleset (https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Form/Rule/EmailRule.php) while the PHPMailer class ( addRecipient
) uses the PHP validation (https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php#L1157)
Labels |
Added:
?
|
That would be wrong
Just add type="email"
instead type="text"
in the input. Browsers know better how a valid email looks like
Status | New | ⇒ | Confirmed |
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-05 09:41:16 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | alikon |
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/27948
please test #28574
For reference the problem was with phpmailer configuration
We could make TLD required in our forms. The validation rule already supports it.