On Thu, Sep 18, 2008 at 2:09 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Lupus Michaelis wrote:
>
>> Richard Heyes a écrit :
>>
>>> New domain name extensions can be accounted for easily, eg:
>>>
>>> \.(?:[a-z]){2,4}
>>
>>It excludes .museum tld.
>
> Don't make assumptions about which TLDs that
Lupus Michaelis wrote:
> Richard Heyes a écrit :
>
>> New domain name extensions can be accounted for easily, eg:
>>
>> \.(?:[a-z]){2,4}
>
>It excludes .museum tld.
Don't make assumptions about which TLDs that are or are not allowed -
the domain part of an email address could be validated
Richard Heyes a écrit :
New domain name extensions can be accounted for easily, eg:
\.(?:[a-z]){2,4}
It excludes .museum tld.
--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 2:20 PM +0100 9/17/08, Tom Chubb wrote:
Can anyone offer advice on best practices for email address verification?
Obviously for user registration it's common to click a link in your email to
complete the process thereby verifying the email, but if you want to keep
things very simple for the en
On 17 Sep 2008, at 14:20, Tom Chubb wrote:
Can anyone offer advice on best practices for email address
verification?
Obviously for user registration it's common to click a link in your
email to
complete the process thereby verifying the email, but if you want
to keep
things very simple for
Richard Heyes wrote:
>> I have been looking at getmxrr and the examples feature some good
>> advice, etc.
>> One that I've found that I'm thinking of using is
>> http://www.tienhuis.nl/php-email-address-validation-with-verify-probe
>> which tries to connect to the SMTP server as well as mx lookup,
Tom Chubb wrote:
> Can anyone offer advice on best practices for email address
> verification?
1) check for a valid address syntax - that's easily done with a simply
regex (leaving the most obscure variations out).
2) check that the domain-name exists and has an A record.
/Per Jessen, Zürich
> Can anyone offer advice on best practices for email address verification?
> Obviously for user registration it's common to click a link in your email to
> complete the process thereby verifying the email, but if you want to keep
> things very simple for the end user, what are the best methods?
T
Can anyone offer advice on best practices for email address verification?
Obviously for user registration it's common to click a link in your email to
complete the process thereby verifying the email, but if you want to keep
things very simple for the end user, what are the best methods?
I have bee
Well Brad... it worked. Guess I forgot to use well the IF statements.
Thanks.
"Brad Pauly" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> On Wed, 2003-12-31 at 11:18, Cesar Aracena wrote:
> > Hi all,
> >
> > I'm trying to create a script to check for errors in submitted forms
On Wed, 2003-12-31 at 11:18, Cesar Aracena wrote:
> Hi all,
>
> I'm trying to create a script to check for errors in submitted forms. I want
> the visitor to enter two times the email address and then check for it...
> This is what I have so far. The scripts checks if the email was entered in
> bo
Hi all,
I'm trying to create a script to check for errors in submitted forms. I want
the visitor to enter two times the email address and then check for it...
This is what I have so far. The scripts checks if the email was entered in
both fields, but not if they are equal to each other... ???
if
On Monday 25 February 2002 07:43, Martin Towell wrote:
> I tried doing that, but some servers don't support them :(
>
> -Original Message-
> From: Billy S Halsey [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 25, 2002 10:39 AM
> To: [EMAIL PROTECTED]
>
On Mon, 25 Feb 2002, Martin Towell wrote:
> You can use sockets and connect to their mail server (bit after the @) and
> "pretend" to send an email to them, but cancel the request before you
> actually send anything - doesn't always work though, as some servers will
> report back the all users are
MAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, February 24, 2002 11:43 PM
Subject: RE: [PHP] Email Verification
> I tried doing that, but some servers don't support them :(
>
> -Original Message-
> From: Billy S Halsey [mailto:[EMAIL
I tried doing that, but some servers don't support them :(
-Original Message-
From: Billy S Halsey [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 10:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Email Verification
I don't have code, since I've never needed
I don't have code, since I've never needed to do this, but can anyone
see a problem with simply issuing a VRFY or an EXPN command instead of
actually faking out sending a message?
/bsh/
Martin Towell wrote:
>You can use sockets and connect to their mail server (bit after the @) and
>"pretend"
ode - there's lots more, there's an
email class and an attachment class that goes with it, but it's need to
check the address
HTH
Martin
-Original Message-
From: Simon Willison [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 9:27 AM
To: Steven Walker
Cc: [EMAIL P
Is this what you want?
function validateEmail ($email) {
return (ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'. '@'.
'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.' .
'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email));
}
This will also do the job. It actually connects to the mail ser
Steven Walker wrote:
> Does anybody know any good ways (or available code) for verifying
> email addresses?
>
> Checking syntax is not enough.. I'd like to actually be able to test
> whether the email address exists.
The only way to be sure is to send them an e-mail with a link or
validation
What you could do additionally to syntax check, is to check if the domain they are
giving is existant or not with checkdnsrr(). Still not 100% fullproof though :-(
cheers,
thalis
On Sun, 24 Feb 2002, Steven Walker wrote:
> Does anybody know any good ways (or available code) for verifying ema
Does anybody know any good ways (or available code) for verifying email
addresses?
Checking syntax is not enough.. I'd like to actually be able to test
whether the email address exists.
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
--
PHP General Mailing List (http
"Steve Werby" <[EMAIL PROTECTED]> writes:
> "Arcady Genkin" <[EMAIL PROTECTED]> wrote:
> > If I understand correctly, vrfy does not wholy depend on that
> > functionality to be supported by the server. I think that it simply
> > connects to the smtp port of the mail exchanger and emulates an ema
"Matthew Loff" <[EMAIL PROTECTED]> wrote:
> There really isn't any surefire way to verify whether an e-mail exists
> or not, except to try to send to it, correct?
Bingo. And with catchall accounts and unexpected mail server behavior you
may get no response even if an email address is not valid.
"Arcady Genkin" <[EMAIL PROTECTED]> wrote:
> If I understand correctly, vrfy does not wholy depend on that
> functionality to be supported by the server. I think that it simply
> connects to the smtp port of the mail exchanger and emulates an email
> delivery, aborting halfway.
I hadn't used the
by [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 12:06 AM
To: Arcady Genkin
Cc: Clayton Dukes; [EMAIL PROTECTED]
Subject: Re: [PHP] Email verification (was: [PHP] Removing Invalid
Users)
> "Steve Werby" <[EMAIL PROTECTED]> writes:
> > Like Tom said, use regex to c
"Steve Werby" <[EMAIL PROTECTED]> writes:
> So unfortunately vrfy will only be useful when checking servers that haven't
> disabled that command. :-(
If I understand correctly, vrfy does not wholy depend on that
functionality to be supported by the server. I think that it simply
connects to th
> "Steve Werby" <[EMAIL PROTECTED]> writes:
> > Like Tom said, use regex to check the email is of a valid format. A
small
> > percentage of servers can be contacted to find whether an email address
is
> > valid, but fewer and fewer are allowing this so it's completely
unreliable.
"Arcady Genkin"
"Steve Werby" <[EMAIL PROTECTED]> writes:
> "Clayton Dukes" <[EMAIL PROTECTED]> wrote:
> > How can I write code that will search the database and check the
> > validity > of an email address, and if it's bad, to remove that
> > entry from the database?
>
> Like Tom said, use regex to check the e
29 matches
Mail list logo