Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFLrU-0000il-Bx for pgsql-general@arkaria.postgresql.org; Thu, 16 Nov 2017 15:13:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eFLrT-00026N-V4 for pgsql-general@arkaria.postgresql.org; Thu, 16 Nov 2017 15:13:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eFLrR-00025V-Pb for pgsql-general@postgresql.org; Thu, 16 Nov 2017 15:13:49 +0000 Received: from smtp.emerald.synacor.com ([208.47.184.7] helo=smtp01.emerald.cmh.synacor.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eFLrM-0005Uc-Cv for pgsql-general@postgresql.org; Thu, 16 Nov 2017 15:13:48 +0000 X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=DfNVkblW c=1 sm=1 tr=0 a=sOJG561dOovE9JBqKNxcJA==:117 a=KGjhK52YXX0A:10 a=FKkrIqjQGGEA:10 a=Rjg61QVRfgoA:10 a=sC3jslCIGhcA:10 a=qzyW-89uDWQA:10 a=nvhMdYX1sOkA:10 a=epTmVMiNAAAA:8 a=mWuxYnRNAAAA:8 a=ZgHsodrNAAAA:8 a=NEAV23lmAAAA:8 a=rhjuEX2x5C0nhANSMtYA:9 a=QEXdDO2ut3YA:10 a=fdnJ2QFol1gA:10 a=wGrPuJX3ikoA:10 a=VlZU0XKO32wA:10 a=D10ip6pBmGhn2B6JQsYA:9 a=4GTKfb0aO_exJgMH:21 a=_W_S_7VecoQA:10 a=H-XRpVjFuKLiRur8qgEA:9 a=ndEWmUVY6Yapc0oHF_P4:22 a=-0vgT2xutHuI0OFK4dpD:22 a=dK59-tHATs2preG_0rle:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YnRvYmVyQGJyb2Fkc3RyaXBlLm5ldA== X_CMAE_Category: , , X-CNFS-Analysis: X-CM-Score: X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.emerald.cmh.synacor.com header.from=btober@broadstripe.net; sender-id=neutral Authentication-Results: smtp01.emerald.cmh.synacor.com smtp.mail=btober@broadstripe.net; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp01.emerald.cmh.synacor.com: 10.33.73.65 is neither permitted nor denied by domain of broadstripe.net) Received: from [10.33.73.65] ([10.33.73.65:49738] helo=md03.emerald.cmh.synacor.com) by smtp.etc.emerald.synacor.com (envelope-from ) (ecelerity 3.6.1.42806 r(Platform:3.6.1.1)) with ESMTP id 43/7B-09005-42BAD0A5; Thu, 16 Nov 2017 10:13:40 -0500 Date: Thu, 16 Nov 2017 10:13:39 -0500 (EST) From: "btober@computer.org" To: Nick Dro Cc: pgsql-general@postgresql.org Message-ID: <1999595715.104299573.1510845219961.JavaMail.zimbra@broadstripe.net> In-Reply-To: <~0025A0D44838C5819020443@walla.co.il> References: <~0025A0D44838C5819020443@walla.co.il> Subject: Re: Build in function to verify email addresses MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_104299572_823233727.1510845219960" X-Originating-IP: [8.44.100.11] X-Mailer: Zimbra 8.0.7_GA_6021 (ZimbraWebClient - FF52 (Win)/8.0.7_GA_6021) Thread-Topic: Build in function to verify email addresses Thread-Index: YcNtnixEZWkoppq/s8Zfh5bFyWBNmw== List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org ------=_Part_104299572_823233727.1510845219960 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message ----- From: "Nick Dro" To: pgsql-general@postgresql.org Sent: Thursday, November 16, 2017 2:56:42 AM Subject: [GENERAL] Build in function to verify email addresses I beleieve that every information system has the needs to send emails. Currently PostgreSQL doesn't have a function which gets TEXT and return true if it's valid email address (xxx@YYY.com / .co.ZZ) Do you believe such function should exist in PostgreSQL or it's best to let every user to implement his own function? I don't mean to sound snarky, but did you even try to google search? https://pgxn.org/dist/email/ https://github.com/asotolongo/email or https://github.com/petere/pgemailaddr -- B ------=_Part_104299572_823233727.1510845219960 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable



Fr= om: "Nick Dro" <postgresql@walla.co.il>
To: pgsql-gener= al@postgresql.org
Sent: Thursday, November 16, 2017 2:56:42 AMSubject: [GENERAL] Build in function to verify email addresses
<= div>
I beleieve that every infor= mation system has the needs to send emails.
Currently= PostgreSQL doesn't have a function which gets TEXT and return true if it's= valid email address (xxx@YYY.com / .co.ZZ)
Do you be= lieve such function should exist in PostgreSQL or it's best to let every us= er to implement his own function?

I don't mean to sound snarky, but did you even try to google search= ?

https://github.com/asotolongo/email

o= r

https://github.com/petere/pgemailaddr
=



-- B




------=_Part_104299572_823233727.1510845219960--