From: | Michael Nolan <htfoot(at)gmail(dot)com> |
---|---|
To: | Nick Dro <postgresql(at)walla(dot)co(dot)il> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Build in function to verify email addresses |
Date: | 2017-11-16 15:45:29 |
Message-ID: | CAOzAquLH-wFG2+0YQ4cLGeu3DtmonrYOfMgAbTL8chmCmxOXSQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Nov 16, 2017 at 1:56 AM, Nick Dro <postgresql(at)walla(dot)co(dot)il> wrote:
> 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(at)YYY(dot)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?
>
There's a world of difference between an email address that is well-formed
and one that actually works.
In the systems I administer there's a lot of time spent dealing with
bounced mail to make sure that the email addresses we have actually reach
someone, hopefully the intended target. And in the US, bulk emailers also
have to deal with the CAN-SPAM act, which specifies procedures that must be
in place to allow easy administrative options to remove one'e email address
from mailing lists.
Procedures to verify that an email address works and to administer its use
under rules like CAN_SPAM cannot exist solely within the database itself.
And as others have noted, what makes for a 'well-formed' email address has
always been a bit complicated.
--
Mike Nolan
From | Date | Subject | |
---|---|---|---|
Next Message | rammohan ganapavarapu | 2017-11-16 16:58:42 | Re: Can master and slave on different PG versions? |
Previous Message | Andreas Joseph Krogh | 2017-11-16 15:44:38 | Re: Build in function to verify email addresses |