Previous Topic

Next Topic

Book Contents

An E-Mail Trick

To completely test your SF2K web on your local PC, you will need an ASP e-mail component installed to allow the SF2K ASP code to send the e-mail confirmation messages.

You can install such a component on your PWS or local IIS as noted here but if you need to test without an ASP mail component you can use the following trick to keep SF2K from trying to send the messages and generating an error when no component is found:

  1. Open your SF2K database in Access (you have to have Access to do this) and double-click on the Admin table to open it.
  2. Find the field named MAIL_METHOD and change its value to "No Mail" without the quotes.
  3. Close Access which will save the changes.

This trick is based on an entry in the SF2K mail.inc file which will send no e-mail messages if this field is set to No Mail.

Just be sure to change this setting to a valid e-mail component when you publish your local web to your live web host.

Note: You can not set this value using the SF2K Admin tools, however, it is possible to add this value as a selection to the HTML Admin tool, if desired.

See Also

Other Tips & Tricks

8004005 Errors

Updateable Query?

DSN & global.asa

The Wrong global.asa

My global.asa Doesn't Fire

I Can't Browse to my DSN

Short DSN in SSL Folder