mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Write email text to logfile
SVN revision: 1679
This commit is contained in:
parent
472790e412
commit
4839d23343
@ -2261,6 +2261,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
|
|||||||
send(s, str, strlen(str), 0);
|
send(s, str, strlen(str), 0);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
efputs(str);
|
efputs(str);
|
||||||
|
write_logfile(lbs, str);
|
||||||
recv_string(s, str, strsize, 10000);
|
recv_string(s, str, strsize, 10000);
|
||||||
if (verbose)
|
if (verbose)
|
||||||
efputs(str);
|
efputs(str);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user