Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you send e-mail from a form

View products that this article applies to.


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.
FrontPage Error.

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

Webmaster: Please see the server's application event log for more details.
Error: 160002 Cannot connect to SMTP host server name
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: - Error #160005 Message: Bad response from SMTP host (IP address): 501 unacceptable mail address
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.

↑ Back to the top


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

↑ Back to the top


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.

↑ Back to the top

Keywords: KB308242, kbprb

↑ Back to the top

Article Info
Article ID : 308242
Revision : 4
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 354