Error message when you send e-mail from a form (308242)



The information in this article applies to:

  • Microsoft Office FrontPage 2003
  • Microsoft FrontPage 2002
  • FrontPage 2002 Server Extensions from Microsoft
  • Microsoft FrontPage 2000
  • FrontPage 2000 Server Extensions from Microsoft

This article was previously published under Q308242

SYMPTOMS

When you attempt to send e-mail by using a form on a Web site, you receive one of the following error messages:
Error sending mail.

See the Event Logs for more information.
-or-
FrontPage Error.

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

Webmaster: Please see the server's application event log for more details.
-or-
Error: 160002 Cannot connect to SMTP host server name
-or-
Error: 160002 Cannot connect to SMTP host IP address
The Application Log in the Event Viewer may contain a FrontPage error similar to one of the following
Microsoft FrontPage Server Extensions: http://www.webserver.net - Error #160005 Message: Bad response from SMTP host (IP address): 501 unacceptable mail address
-or-
Error #160005 bad response from SMTP host (IP address): 553 malformed address
where (IP address) is the IP address of the Simple Mail Transfer Protocol (SMTP) mail server.

CAUSE

This issue can occur if the e-mail address specified in the Web server's mail address box is invalid.

RESOLUTION

To resolve this issue, use the following steps:
  1. Start the Internet Services Manager, and then right-click (click with the right mouse button) the Web site.
  2. Click Properties, and then click the Server Extensions tab.
  3. Under Options, click Settings.
  4. In the E-mail Settings dialog box, specify how e-mail messages are to be sent:
    • 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 certain components in FrontPage, such as results forms.

      NOTE: Be sure to use a valid e-mail address (do not use an IP address) that will not be filtered by your SMTP server. Many SMTP servers only allow e-mail from certain domains. Verify that the e-mail address that you use is included on the list of domains that the SMTP server will accept.
    • In the Contact address box, type the e-mail address that users should write to if they have problems. The address you type will appear on error messages that are displayed for some problems encountered by users of FrontPage.
    • In the SMTP Mail server box, type the name or IP address of the SMTP host that will route messages to or from the Web.
    • In the Mail encoding box, select the mail-encoding scheme that you want to use for your e-mail messages. The default is 8-bit encoding, which is the most commonly used scheme. You can change from one encoding scheme to another if you know that an e-mail recipient uses a different encoding scheme and cannot interpret your messages.
    • In the Character set box, select the name of the set of characters that you want to use in e-mail messages. Each character set is the alphabet of a language.
  5. Click OK to close the E-mail Settings dialog box, and then click OK to close the Web site Properties dialog box.

Modification Type:MinorLast Reviewed:1/9/2006
Keywords:kbprb KB308242