?
Solved

Accessing IIS - SMTP Services using C#

Posted on 2003-02-21
1
Medium Priority
?
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

752 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