SMTP virtual server is the program that needs to be
installed and configured on the IIS in order to send e-mail from an ASP.NET Web
application. The IIS SMTP service is a simple component for forwarding e-mail
messages to an SMTP server for delivery. Whenever we install the SMTP virtual
server we have some default settings. Let us discuss some of the settings.
·
Name: The name of the virtual server that appears in IIS Manager
·
IP address/TCP port: All unassigned/25. You can use the General
tab in the SMTP virtual server properties dialog box to change this setting. If
you change this setting, you must specify an IP address and TCP port
combination that is not being used by another SMTP virtual server.
·
Default domain: The domain name that is listed on the Computer
Name tab in System Properties. The default domain is used to stamp messages
from addresses that do not have a domain. An SMTP virtual server can have only
one default domain, and it cannot be deleted.
·
Home directory: C:\Inetpub\Mailroot