Wait for "250 " instead of " OK" for SMTP server in EHLO mode.
SVN revision: 1871
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user