mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
outcommented debugging code
SVN revision: 1627
This commit is contained in:
parent
d459d101a8
commit
c487eaa0bb
@ -18318,12 +18318,14 @@ int compose_email(LOGBOOK * lbs, char *mail_to, int message_id,
|
||||
|
||||
status = sendmail(lbs, smtp_host, mail_from, mail_to, mail_text, error, sizeof(error));
|
||||
|
||||
/*
|
||||
{
|
||||
int fh;
|
||||
fh = open("mail.html", O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644);
|
||||
write(fh, mail_text, strlen(mail_text));
|
||||
close(fh);
|
||||
}
|
||||
*/
|
||||
|
||||
if (status < 0) {
|
||||
sprintf(str, loc("Error sending Email via <i>\"%s\"</i>"), smtp_host);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user