Make smtpc work with "long banner" smtp servers.

This commit is contained in:
alexhudson
2008-10-15 11:46:28 +00:00
parent 8ff06fd1c4
commit f67fa7cfe9
+4
View File
@@ -193,6 +193,10 @@ DeliverMessage(SMTPClient *Queue, SMTPClient *Remote, RecipStruct *Recip) {
Recip->Result = DELIVER_REFUSED;
return FALSE;
}
// read out any additional banner lines
while(Remote->line[0] == '2' && Remote->line[3] == '-') {
ConnReadAnswer(Remote->conn, Remote->line, CONN_BUFSIZE);
}
beginConversation:
Extensions = 0;