[
https://issues.apache.org/jira/browse/VALIDATOR-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936466#comment-14936466
]
Ralph Goers commented on VALIDATOR-376:
---------------------------------------
Jochen - Are you suggesting that the application verify the domain every time
it has to deal with an email address? That seems like it could get pretty
expensive to do. I would imagine it would more likely be handled by sending an
email to the user to confirm their email address.
I thought the point of EmailValidator was to verify that the syntax of an email
address was correct. The issue is that although the RFC might say that just the
domain is allowed that all the SMTP servers I have tried will fail to even
accept the message with an address like that. So in the real world the syntax
is correct in only a few cases.
> EmailValidator says addresses such as x.y@gmail are valid although most mail
> apps will fail to send it
> ------------------------------------------------------------------------------------------------------
>
> Key: VALIDATOR-376
> URL: https://issues.apache.org/jira/browse/VALIDATOR-376
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.4.1 Release
> Reporter: Ralph Goers
>
> The VALIDATOR-273 patch causes EmailValidator to allow addresses such as
> x.y@gmail. Unfortunately, this is causing us problems as none of the email
> apps we have tried will actually allow that email address to be sent.
> Although the RFCs may state it is valid, in practice it apparently isn't.
> Some sort of option is needed to allow providing just the domain to fail. As
> a consequence we have had to revert to a prior release of commons-validator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)