Write email text to logfile

SVN revision: 1679
This commit is contained in:
2006-03-28 18:20:09 +00:00
parent 472790e412
commit 4839d23343
+1
View File
@@ -2261,6 +2261,7 @@ int sendmail(LOGBOOK * lbs, char *smtp_host, char *from, char *to, char *text, c
send(s, str, strlen(str), 0);
if (verbose)
efputs(str);
write_logfile(lbs, str);
recv_string(s, str, strsize, 10000);
if (verbose)
efputs(str);