Re: socket - e-mailaddress validation
| From: | Mike Frazer | Date: | Wed, 06 Feb 2002 23:34:53 +0000 |
| Subject: | Re: socket - e-mailaddress validation | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83751@lists.php.net to get a copy of this message | ||
If the remote system has the finger service activated, that would work.
However, most servers have stopped running this and also the user generally
has a say in whether they want to be listed.
Out of curiosity, why do you want to do this?
Mike Frazer
"Bvr" <listmail@xs4all.nl> wrote in message
news:200202061017.g16AHRJv009682@smtpzilla2.xs4all.nl...
>
>
> Yes, this is possible.
>
> However you would need to connect to the users mailserver instead of just
the domain.
>
> Use getmxrr() to retrieve the mail exchanger associated with the domain.
>
> To check if the user is accepted on that server you can issue a RCPT TO:
command
> on it and see what happens.
>
> Also you can use a local SMTP server that supports the VRFY (verify)
command to check
> if the address is accepted.
>
> Google for 'RFC SMTP' for more details on the SMTP protocol.
>
> bvr.
>
>
> On Wed, 6 Feb 2002 11:05:31 +0100, B. Verbeek wrote:
>
> >Question:
> >
> >Is it possible to validate an e-mailaddress by opening a
socket-connection
> >to the specified domein (@domain.com) and then search for username
> >(user@domain.com) to validate an e-mailaddress?
> >
> >I know how to set up a socket-connection, but how do I search for the
user
> >in the given domain?
> >
> >Regards,
> >bart
> >
> >
> >
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>