mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Wait for "250 " instead of " OK" for SMTP server in EHLO mode.
SVN revision: 1871
This commit is contained in:
parent
0886688f37
commit
f051576cde
@ -2245,7 +2245,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
|
|||||||
write_logfile(lbs, str);
|
write_logfile(lbs, str);
|
||||||
if (!check_smtp_error(str, 250, error, error_size))
|
if (!check_smtp_error(str, 250, error, error_size))
|
||||||
goto smtp_error;
|
goto smtp_error;
|
||||||
} while (stristr(str, " OK") == NULL);
|
} while (stristr(str, "250 ") == NULL);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user