Microsoft KB Archive/198226

= FrontPage Server Extensions Prematurely Closes SMTP Connections =

Article ID: 198226

Article Last Modified on 8/10/2004

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q198226



SYMPTOMS
When you use the SMTPHost to configure the FrontPage Server Extension for UNIX to deliver e-mail to an e-mail transport, the extension may fail to send the e-mail and abnormally terminate.



CAUSE
When you use the SMTPHost option, the FrontPage Server Extension communicates directly with the SMTP server. Under normal circumstances, the initial SMTP communication is encapsulated in one packet. If the responses from the SMTP server are split into two packets, then the conditional checking finds the response but does not wait for the  from the second packet, which marks the message end. This has been observed with the 220 service ready message response being split into two packets. In this case, the extension sends the HELO message before the second packet arrives. When the HELO is sent, the extension expects the next message in the sequence, and when the remainder of the 220 message arrives, it causes the extension to fail and closes the connection.



RESOLUTION
This problem has been fixed in the FrontPage 2000 Server Extensions. It is available for download from http://office.microsoft.com/assistance/default.aspx.

To resolve this problem, upgrade the Web server to the FrontPage 2000 Server Extensions.



WORKAROUND
To work around this problem, use the SendMailCommand that forces the FrontPage Server Extension to use an external mail program to send the mail. The following excerpt is from the [http://msdn.microsoft.com/workshop/c-frame.htm#/workshop/languages/fp/default.asp. FrontPage Server Extension Resource Kit]:

SendMailCommand This parameter sets the name of a program to which Email should be piped. Typically this will be "sendmail", but it could be any program. Before invoking the command, all occurrences of "%r" are replaced with the recipient of the mail. The percent sign character followed by any other character is replaced by that character. Example:

SendmailCommand:/usr/lib/sendmail %r



STATUS
Microsoft has confirmed this to be a problem in FrontPage 98 for Windows.

Additional query words: Email mail form SendMailCommand SMTP SMTPHost

Keywords: kbdownload kbbug kbpending KB198226

-

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

© Microsoft Corporation. All rights reserved.