Home All Groups Group Topic Archive Search About

Query Exchange 2003 for valid SMTP Address

Author
19 Sep 2006 2:08 PM
Michael D. Ober
I am writing an application that needs to email to specific users on our
Exchange server and need to query it to see if the SMTP address I will be
sending to exists.  The application will be running on the same server as
the Exchange Server.  Environment is W2003 SP2 Exchange 2003 SP1.

Allowing the email to bounce is not an option.

Thanks in Advance,
Mike Ober.

Author
19 Sep 2006 4:06 PM
Goran Sliskovic
"Michael D. Ober" <ober***@.alum.mit.edu.nospam> wrote in message
news:ufc9nU$2GHA.3656@TK2MSFTNGP04.phx.gbl...
> I am writing an application that needs to email to specific users on our
> Exchange server and need to query it to see if the SMTP address I will be
> sending to exists.  The application will be running on the same server as
> the Exchange Server.  Environment is W2003 SP2 Exchange 2003 SP1.
>
> Allowing the email to bounce is not an option.
>
> Thanks in Advance,
> Mike Ober.
>

Hi,

You could issue SMTP command VRFY against SMTP server. I guess exchange
supports it...

http://cr.yp.to/smtp/vrfy.html

Regards,
Goran

AddThis Social Bookmark Button