fix for #19482, exim's smtp server exposed a problem with our code.

r=mscott.
This commit is contained in:
sspitzer%netscape.com 2000-05-17 03:31:42 +00:00
Родитель 1f49bf6230
Коммит 0371a83fcb
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -1050,8 +1050,7 @@ PRInt32 nsSmtpProtocol::SendDataResponse()
PRInt32 status = 0;
char * command=0;
if(m_responseCode != 354)
{
if((m_responseCode != 354) && (m_responseCode != 250)) {
nsresult rv = nsExplainErrorDetails(NS_ERROR_SENDING_DATA_COMMAND, (const char*)m_responseText);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to explain SMTP error");
@ -1196,8 +1195,7 @@ PRInt32 nsSmtpProtocol::SendPostData()
PRInt32 nsSmtpProtocol::SendMessageResponse()
{
if(m_responseCode != 250)
{
if((m_responseCode != 354) && (m_responseCode != 250)) {
nsresult rv = nsExplainErrorDetails(NS_ERROR_SENDING_MESSAGE, (const char*)m_responseText);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to explain SMTP error");