[thelist] IIS6 configuration

Ken Schaefer ken at adOpenStatic.com
Sun Apr 4 18:23:48 CDT 2004


In your code, specify the name/IP address of the server you wish to use as
your SMTP server. The System.Web.Mail classes support setting a SMTP server.

There is no IIS 6.0 configuration that allows your user-written code to
automatically connect to a default SMTP server. IIS doesn't know anything
about what your ASP, or ASP.Net code is doing.

That said, you can configure the IIS SMTP service as a smart host, which
means that all mail that the IIS SMTP service receives will be forwarded to
the specified server. However, this doesn't seem to be what you want to go.

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Norman Beresford" <n.beresford at anansi.co.uk>
Subject: [thelist] IIS6 configuration


: We've been busy with this new win2k3 box of ours and I'm having to learn
: how to configure it asap.  One of the problems we've got is with the
: SMTP server.  We've a separate mail server running on a non-windows box
: which is set up to relay for the webserver (with some restrictions).
: However what I need to do is tell IIS this information.  Is there a way
: for me to set the default value for the SMTP server to the remote
: machine so that it doesn't have to be specified when it is called (ie
: through ASP/ASP.net)?
:
: Thanks in advance
: Norman
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the thelist mailing list