The Simple Mail Transfer Protocol (SMTP) is used when sending and receiving email. As stated in earlier chapters, your email services reside on a separate Unix mail server. However, there are times when you may wish to utilize the SMTP service on your NT Web server instead of the Unix mail server.
Web-based mail forms and custom scripts often use the SMTP service of your Web server. A mail form can be a group of fields you use to collect information from visitors to your Web site. The results are then sent to an email address you specify in the form properties. Examples of Web-based forms and scripting languages that use the SMTP service on your Web server include:
· Miva Merchant
· Cold Fusion
To use your Web server's SMTP capabilities, you will want to refer to your SMTP mail service as "localhost". Under ASP it would appear as follows:
e.g. Mailer.RemoteHost = "localhost"
If you prefer to use the SMTP service on your Unix mail server, you will refer to your SMTP mail service as "mail.yourdomain.com". Under ASP it would appear as follows:
Mailer.RemoteHost = "mail.yourdomain.com"
If you choose this route, you must clear your NT IP address through your mail server's user authentication service, PopAuth. You will need to enter two IP addresses in this configuration file:
· The IP address of your VServer NT
· The IP address of the server your account resides
For more information on configuring this PopAuth service, please visit the Anti-Spam | Mail Blocking chapter.