Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B68A18D94 for ; Tue, 16 Jun 2015 17:19:28 +0000 (UTC) Received: (qmail 32312 invoked by uid 500); 16 Jun 2015 17:19:27 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 32192 invoked by uid 500); 16 Jun 2015 17:19:27 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 32180 invoked by uid 99); 16 Jun 2015 17:19:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 17:19:26 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daveh42@gmail.com designates 209.85.220.181 as permitted sender) Received: from [209.85.220.181] (HELO mail-qk0-f181.google.com) (209.85.220.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 17:17:12 +0000 Received: by qkfe185 with SMTP id e185so12399576qkf.3 for ; Tue, 16 Jun 2015 10:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:thread-index :content-language; bh=MvUjjCnF11ZY5IzxpCEKx6GHdmZAKHxl2LygSwjhr08=; b=A4jK5T3heinDMju5gzMwDiuKPIPreid20PL3exmqSHtrUPSUMlQwpu0mY6anAMFiD6 3/wohT2bhY1VFZoG9UAMfyl+2FRdLYygqgXc8OlyaRDdNoJ+bYiV980Gd42Ko23M905w enwD7HoilM38gmHOh57owyl8zXEwydwcOY2CYt06X3HFronPNCk99LfFtiVlee8EhfhR 76Z5vMAZfKHSNMO8qNG+nBeyhJNzuVWTUfbkNCoz1axyhbV7xnkkFuA9U/vY5Cw/wc7l RFyI5w5sTl4npYp7axM4d8N0gP2yXjH7KwDiUW8VkS0FARGGkOBF/8DREcpVOpPJM2YF Ncqg== X-Received: by 10.140.19.48 with SMTP id 45mr2145575qgg.50.1434475140739; Tue, 16 Jun 2015 10:19:00 -0700 (PDT) Received: from DaveLaptop (mail.maineturnpike.com. [24.39.54.68]) by mx.google.com with ESMTPSA id r12sm752415qkr.2.2015.06.16.10.18.59 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Jun 2015 10:19:00 -0700 (PDT) From: "Dave Hammond" To: "'Commons Users List'" References: <005f01d0a84c$4d6e27b0$e84a7710$@gmail.com> In-Reply-To: Subject: RE: [validator] EmailValidator 1.4.1 returns true for some invalid(?) email addresses Date: Tue, 16 Jun 2015 13:19:00 -0400 Message-ID: <007601d0a858$89a22e00$9ce68a00$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQIEvPkmqJkh1JNPaWlgcBcbo9Oi1wHmNkCfnTgAnaA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Hi Ayoma, RFC 5321 goes on to say, "This makes the requirement, described in more = detail below, that only fully-qualified domain names appear in SMTP = transactions on the public Internet, particularly important where = top-level domains are involved." Does EmailValidator provide a way to validate an email address is valid = for use on the public Internet? Thanks, Dave -----Original Message----- From: Ayoma Wijethunga [mailto:ayomawdb@gmail.com]=20 Sent: Tuesday, June 16, 2015 12:27 PM To: Commons Users List Subject: Re: [validator] EmailValidator 1.4.1 returns true for some = invalid(?) email addresses Hi Dave, Mentioned email addresses are valid and they are mailboxes for TLD users = ("gmail" is a valid TLD - = http://data.iana.org/TLD/tlds-alpha-by-domain.txt) Please check following : Bug report : https://issues.apache.org/jira/browse/VALIDATOR-273 RFC: http://tools.ietf.org/html/rfc5321#section-2.3.5 * (states : In = the case of a top-level domain used by itself in an email address, a single = string is used without any dots.)* Best Regards, Ayoma. On Tue, Jun 16, 2015 at 9:21 PM, Dave Hammond wrote: > The EmailValidator.java isValid routine was changed in version 1.4.1=20 > and now returns true for email addresses like these: > > > > user@com > > user@gmail > > > > Are these valid email address forms? > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org