fix problem handling multiple 251 SMTP responses, patch by christian eyrich, r=bienvenu, sr=bienvenu,a=sspitzer

This commit is contained in:
bienvenu%netscape.com 2003-05-05 20:48:42 +00:00
parent 615d3d50af
commit 0026c5bd39

View File

@ -1172,11 +1172,13 @@ PRInt32 nsSmtpProtocol::SendRecipientResponse()
{
/* more senders to RCPT to
*/
// fake to 250 because SendMailResponse() can't handle 251
m_responseCode = 250;
m_nextState = SMTP_SEND_MAIL_RESPONSE;
return(0);
}
/* else send the RCPT TO: command */
/* else send the DATA command */
buffer = "DATA";
buffer += CRLF;
nsCOMPtr<nsIURI> url = do_QueryInterface(m_runningURL);