Wait for "250 " instead of " OK" for SMTP server in EHLO mode.

SVN revision: 1871
This commit is contained in:
2007-06-28 15:05:40 +00:00
parent 0886688f37
commit f051576cde
+1 -1
View File
@@ -2245,7 +2245,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
write_logfile(lbs, str);
if (!check_smtp_error(str, 250, error, error_size))
goto smtp_error;
} while (stristr(str, " OK") == NULL);
} while (stristr(str, "250 ") == NULL);
} else {