Microsoft KB Archive/196489

= How to set up FrontPage 2000 and FrontPage 2002 forms for e-mail on Internet Information Server =

Article ID: 196489

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q196489





For a Microsoft FrontPage 98 version of this article, see 174406.



SUMMARY
Microsoft FrontPage 2000 and Microsoft FrontPage 2002 support sending form results in e-mail. To do this on Microsoft Internet Information Server (IIS), you must configure your form to send results to e-mail and configure the Microsoft FrontPage Server Extensions to deliver the e-mail to an e-mail transport. This article describes how to set up FrontPage 2000 and FrontPage 2002 forms for e-mail on IIS.



Define your form

 * 1) In FrontPage 2000 or in FrontPage 2002, open the page, right-click the form (inside the dashed border), and then click Form Properties.
 * 2) In the E-mail Address box, type your e-mail address.
 * 3) Click OK.
 * 4) On the File menu, click Save.

Set up your e-mail transport
To send form results to an e-mail host, the FrontPage Server Extensions require a Simple Mail Transfer Protocol (SMTP) server. The FrontPage Server Extensions do not support any other form of e-mail server software.

To send e-mail from IIS, configure the FrontPage Server Extensions in the FrontPage Management Console on the Microsoft Windows NT Server that is running IIS to deliver the mail to an e-mail transport. To do this, follow these steps:  In Microsoft Windows Explorer, open the Microsoft Management Console.

By default, this file is located in the following folder:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\40\bin\fpmmc.msc

 In the Microsoft Management Console, expand FrontPage Server Extensions. Right-click the folder that has your computer name, click Properties, and then click the Server Extensions tab. In the Options section, click Settings. In the Web server's mail address box, type the e-mail address that you want to appear in the From line of e-mail messages sent by your form results component. Click OK two times.</li> On the Console menu, click Exit.</li></ol>

Note If you use the Internet Service Manager (ISM) from the Microsoft Windows NT 4.0 Option Pack to install the FrontPage Server Extensions, you must configure your mail transport in the same Microsoft Management Console. To do this, open the properties of the site, click the Server Extension tab, and then follow steps 3 through 7 in the "Set up your e-mail transport" section.

For transport to work, you must use the same interface (Microsoft Management Console) that you used to install the extensions.

Possible error messages
If the SMTP host is present when the form is created, but the SMTP host is later removed (and the form has not changed since then), you receive the following error message on a default page that is returned by the form when the form is submitted:

FrontPage Error.

User: Please report details to this site's webmaster.

Webmaster: Please see the server's application event log for more details.

The following event is logged in the application event log of the server that is running the FrontPage Extensions:

Event 160005 Bad response from SMTP server

If e-mail is not configured when the form is created, you receive the following error message from FrontPage 2000 or from FrontPage 2002 :

The FrontPage Server Extensions have not been configured to send e-mail. Please direct your system administrator or Internet Service Provider to the instructions in 'Setting Up Your E-mail Options on Windows' or 'Setting up Email options on UNIX' in the Server Extensions Resource Kit.

Would you like to remove the e-mail recipient? (Yes or No)

If you choose not to remove the e-mail recipient and the extensions are not configured correctly when the form is filled out and submitted, the form is refreshed but a background image (if previously present) does not appear, and the address line in your browser is changed from this:

http://WebServerURL/YourSubWeb/formtoemail2.htm

to one of the following: <ul> On a UNIX Web Server:

http://WebServerURL/YourSubWeb/_vti_bin/shtml.exe/formtoemail2.htm

</li> On a Microsoft Windows Web Server:

http://WebServerURL/YourSubWeb/_vti_bin/shtml.dll/formtoemail2.htm

</li></ul>

This error occurs whenever you have a configuration issue with any dynamic run-time components in FrontPage 2000 and in FrontPage 2002.

If the form is configured to save results to a file or to send e-mail at the same time and the FrontPage Server Extensions are not configured to handle e-mail, a 0-byte file is created. It does not contain any data, you do not receive an error message, and the mail is not sent.

<div class="references_section">