How to check the validity of an email address in exchange server?

  • Thread starter Thread starter ywchan
  • Start date Start date
Y

ywchan

I want to verify whether the email input by user exists in the exchange
server. How to do that? Any replies / reference provided are greatly
appreciated. Thanks!
 
ywchan,

In order to do this, you will probably have to access the CDO classes
through COM interop. There should be a method which will allow you to
resolve an email address in there.

Hope this helps.
 
Can you explain in detail?
any link / reference about that?
thanks a lot!

Nicholas Paldino said:
ywchan,

In order to do this, you will probably have to access the CDO classes
through COM interop. There should be a method which will allow you to
resolve an email address in there.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

ywchan said:
I want to verify whether the email input by user exists in the exchange
server. How to do that? Any replies / reference provided are greatly
appreciated. Thanks!
 
You can perform an AD lookup, since exchange server stores the address of
the recipient in the active directory.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
Back
Top