Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Accessing IIS - SMTP Services using C#

Posted on 2003-02-21
1
Medium Priority
?
296 Views
Last Modified: 2010-04-15
Hi All,

I want to create the SMTP Domain aliases in IIS at runtime using C# Can any body help me by giving good programming ideas for above task?. If any body have live example is more appreciated.


thanks,
Koundinya

0
Comment
Question by:sudhakar_koundinya
1 Comment
 
LVL 14

Accepted Solution

by:
AvonWyss earned 100 total points
ID: 8047083
You will need to use the ADSI objects for that. The following Link to a MSDN walkthrough for that may help you:
http://msdn.microsoft.com/library/en-us/vbcon/html/vbwlkwalkthroughcreatingadsiobjects.asp

This example shows hot to walk in the WinNT:// ADSI provider, but the provider you want to use is IIS://. Just use IIS:// instead of WinNT:// and use the right class and property names, which you can find here:
http://msdn.microsoft.com/library/en-us/iisref/htm/ref_prog_iaoref.asp
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question