mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Removed SIZE= from FROM: in sendmail
SVN revision: 1654
This commit is contained in:
parent
51377a72e6
commit
652d99bc91
@ -2181,7 +2181,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
|
|||||||
goto smtp_error;
|
goto smtp_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(str, strsize - 1, "MAIL FROM: %s SIZE=%d\r\n", from, strlen(text));
|
snprintf(str, strsize - 1, "MAIL FROM: %s\r\n", from);
|
||||||
send(s, str, strlen(str), 0);
|
send(s, str, strlen(str), 0);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
efputs(str);
|
efputs(str);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user