Board index » delphi » Check Email Address Validity?

Check Email Address Validity?

Is there a way to check if an email address is good before sending it?

--
Thanks, -Bob
b...@pless.net
Delphi 5

 

Re:Check Email Address Validity?


  Please don't crosspost ....

  And no ...   You can validate if it seems legitamte (it's got the @ in it,
etc ....)  --  But that's it ...

--

Jason Wallace
SL Software
Home:  Dark...@SLSoftware.reno.nv.us
Work:  Jason_Wall...@intuit.com

Quote
"Bob Pless" <b...@pless.net> wrote in message

news:8_L35.3041$w7.222994@news-west.usenetserver.com...
Quote
> Is there a way to check if an email address is good before sending it?

> --
> Thanks, -Bob
> b...@pless.net
> Delphi 5

Re:Check Email Address Validity?


You could open a SMTP connection to the mail server and use that protocol to
attempt to send the mail - if the mail is invalid then you will get an error
message about the receipient being invalid - otherwise if valid you could
cancel at that point so that no mail actually goes through and you know that
the address is valid.

Quote
Bob Pless <b...@pless.net> wrote in message

news:8_L35.3041$w7.222994@news-west.usenetserver.com...
Quote
> Is there a way to check if an email address is good before sending it?

> --
> Thanks, -Bob
> b...@pless.net
> Delphi 5

Re:Check Email Address Validity?


Use the white pages in outlook an express and apps like bigfoot to check
validity and to find entries.
Bob Pless <b...@pless.net> schreef in berichtnieuws
8_L35.3041$w7.222...@news-west.usenetserver.com...
Quote
> Is there a way to check if an email address is good before sending it?

> --
> Thanks, -Bob
> b...@pless.net
> Delphi 5

Re:Check Email Address Validity?


Quote
On Wed, 21 Jun 2000 11:56:05 +0100, "pc" <p...@tra.com> wrote:
>You could open a SMTP connection to the mail server and use that protocol to
>attempt to send the mail - if the mail is invalid then you will get an error
>message about the receipient being invalid - otherwise if valid you could
>cancel at that point so that no mail actually goes through and you know that
>the address is valid.

Some mail servers like QMail will indicate that any address is valid
(they send an error e-mail back to the sender themselves if mail is
send to a non-existent e-mail address), so that method wouldn't work
in a lot of cases..

Re:Check Email Address Validity?


Most mail servers will reject an invalid mail so without attempting this
method, I fail to see how any an address can possibly be vailidated without
sending an actual mail.

Here is a verify example from RFC 821

                    Example of Verifying a User Name
            S: VRFY Smith
            R: 250 Fred Smith <Sm...@USC-ISIF.ARPA>

Note some mail servers turn off the verify functionality.

Example of SMTP invalid address {*word*59}.  ( from RFC 821 )

         R: 220 MIT-Multics.ARPA Simple Mail Transfer Service Ready
         S: HELO ISI-VAXA.ARPA
         R: 250 MIT-Multics.ARPA

         S: MAIL FROM:<Sm...@ISI-VAXA.ARPA>
         R: 250 OK

         S: RCPT TO:<Gr...@MIT-Multics.ARPA>
         R: 550 No such user here

         S: RSET
         R: 250 OK

         S: QUIT
         R: 221 MIT-Multics.ARPA Service closing transmission channel

Quote
Floris Bos <flor...@dds.nl> wrote in message

news:o9v3lsktjo0bpd2d2gto4idbibmk5efboe@4ax.com...
Quote
> On Wed, 21 Jun 2000 11:56:05 +0100, "pc" <p...@tra.com> wrote:

> >You could open a SMTP connection to the mail server and use that protocol
to
> >attempt to send the mail - if the mail is invalid then you will get an
error
> >message about the receipient being invalid - otherwise if valid you could
> >cancel at that point so that no mail actually goes through and you know
that
> >the address is valid.

> Some mail servers like QMail will indicate that any address is valid
> (they send an error e-mail back to the sender themselves if mail is
> send to a non-existent e-mail address), so that method wouldn't work
> in a lot of cases..

Re:Check Email Address Validity?


Do they have automated responses that I could write in my app?
-Bob

Quote
"SETI" <SETI_B...@Hotmail.com> wrote in message

news:8isg72$pro$1@news1.xs4all.nl...
: Use the white pages in outlook an express and apps like bigfoot to check
: validity and to find entries.
: Bob Pless <b...@pless.net> schreef in berichtnieuws
: 8_L35.3041$w7.222...@news-west.usenetserver.com...
: > Is there a way to check if an email address is good before sending it?
: >
: > --
: > Thanks, -Bob
: > b...@pless.net
: > Delphi 5
: >
: >
: >
: >
:
:

Other Threads