Email validation through Active Directory

Topics: Logging Application Block
Sep 10, 2009 at 8:30 AM

Hi ,

we are using SMTP server with Authentication to send mails.

For AuthenticateEmail we have to provide Username & password.

Our requirement is: The Email should Authenticate from Active Directory.

what we need need to provide 2 achieve this ?(in the configuration file)

Plz help to resolve this...


Sep 10, 2009 at 8:53 AM


Let me just clarify the question. Are you asking if it is possible that the ent lib would have the facility to have your provided username and password be checked against a active directory? Is my understanding correct?

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.

Sep 10, 2009 at 9:55 AM
Edited Sep 10, 2009 at 10:43 AM

Yes.Is it possible?

if yes,Plz let me know .

If no,Is any other way 2 do?


Sep 10, 2009 at 10:45 AM


I think its no longer in the scope of the ent lib. My understanding about where the credential may be checked against varies in the setup of your smtp server. One scenario is that when your smtp server is hosted in IIS and that smtp server connects to exchange server, typically the check of credential will be against the active directory.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.

Sep 10, 2009 at 2:37 PM
Edited Sep 10, 2009 at 3:24 PM

Thanks Valiant ..

Consider the above senario itself .

Is it totally depending on the setup of the smtp server?

For that what should be set to connect smtp server to Exchange server so that it validate againest Active directory.

For this nothing is required to update in configuration?

(asking this even it is not related to ent lib).