This article describes how to create or delete an Active Directory Services Email using ASP.NET web page, remotely.
The whole idea is that email creation and deletion cannot be done remotely. An email only can be added or deleted from the server that holds the Active Directory Services.
On the ASP.NET website, that is hosted on remote computer, away from Active Directory Services, running on local or production IIS, we have a class, name it whatever you want, that contains a method:
And here is the trick that makes it all happen: On Active Directory Services Server, and on the Windows Service that we created earlier over there, a reference DLL, and not Windows or Web Service reference, should be added or copied from our local ASP.NET website.