зеркало из https://github.com/mozilla/pjs.git
fix problem handling multiple 251 SMTP responses, patch by christian eyrich, r=bienvenu, sr=bienvenu,a=sspitzer
This commit is contained in:
Родитель
c4883770d2
Коммит
67225b406f
|
@ -1172,11 +1172,13 @@ PRInt32 nsSmtpProtocol::SendRecipientResponse()
|
||||||
{
|
{
|
||||||
/* more senders to RCPT to
|
/* more senders to RCPT to
|
||||||
*/
|
*/
|
||||||
|
// fake to 250 because SendMailResponse() can't handle 251
|
||||||
|
m_responseCode = 250;
|
||||||
m_nextState = SMTP_SEND_MAIL_RESPONSE;
|
m_nextState = SMTP_SEND_MAIL_RESPONSE;
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* else send the RCPT TO: command */
|
/* else send the DATA command */
|
||||||
buffer = "DATA";
|
buffer = "DATA";
|
||||||
buffer += CRLF;
|
buffer += CRLF;
|
||||||
nsCOMPtr<nsIURI> url = do_QueryInterface(m_runningURL);
|
nsCOMPtr<nsIURI> url = do_QueryInterface(m_runningURL);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче