Microsoft KB Archive/308242

= Error message when you send e-mail from a form =

Article ID: 308242

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Office FrontPage 2003
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft FrontPage 2002 Server Extensions
 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft FrontPage 2000 Server Extensions

-



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

-or-

Error: 160002 Cannot connect to SMTP host

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 : 553 malformed address

where  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:
 * 5) * 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.
 * 1) * 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.
 * 2) * 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.
 * 3) * 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.
 * 4) * 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.

Additional query words: front page

Keywords: kbprb KB308242

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.