Programmatically access SMTP mail server

D

Dave E

I have run into a situation where I need to
programmatically access the smtp server that is specified
in FrontPage Server Extensions. I am trying to do it in
C#, however I am having problems finding any documentation
on how to get it or set it. If anyone could point me in
the right direction I would greatly appreciate it.

Thanks,
Dave E.
 
D

Dave E

I am trying to both set at install time (by asking the
user a simple question and then writing it out) and then
retrieve at run time what the SMTP server name is (so I
can send email from IIS using ASP.NET and the SmtpMail
class). Since these are large environments it is very
possible that the server name might change after install
time or they might not know what the server name is when
my product gets installed, so I will need to look it up
when a mail message will be sent.
 
Top