mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed problem with email encoding
SVN revision: 1631
This commit is contained in:
parent
56d60145f7
commit
bd7675c242
@ -2013,7 +2013,6 @@ void compose_email_header(LOGBOOK * lbs, char *subject, char *from, char *to,
|
|||||||
|
|
||||||
strlcat(mail_text, "This is a multi-part message in MIME format.\r\n", size);
|
strlcat(mail_text, "This is a multi-part message in MIME format.\r\n", size);
|
||||||
} else {
|
} else {
|
||||||
strlcat(mail_text, "\r\n", size);
|
|
||||||
if (multipart_boundary)
|
if (multipart_boundary)
|
||||||
multipart_boundary[0] = 0;
|
multipart_boundary[0] = 0;
|
||||||
}
|
}
|
||||||
@ -17940,7 +17939,8 @@ void format_email_text(LOGBOOK * lbs, char attrib[MAX_N_ATTR][NAME_LENGTH],
|
|||||||
sprintf(mail_text + strlen(mail_text), "Content-Type: text/plain; charset=%s; format=flowed\r\n",
|
sprintf(mail_text + strlen(mail_text), "Content-Type: text/plain; charset=%s; format=flowed\r\n",
|
||||||
charset);
|
charset);
|
||||||
sprintf(mail_text + strlen(mail_text), "Content-Transfer-Encoding: 7bit\r\n\r\n");
|
sprintf(mail_text + strlen(mail_text), "Content-Transfer-Encoding: 7bit\r\n\r\n");
|
||||||
}
|
} else
|
||||||
|
strlcat(mail_text, "\r\n", size);
|
||||||
|
|
||||||
flags = 63;
|
flags = 63;
|
||||||
if (getcfg(lbs->name, "Email format", str, sizeof(str)))
|
if (getcfg(lbs->name, "Email format", str, sizeof(str)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user