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
Родитель c4883770d2
Коммит 67225b406f
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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);