mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Include "MIME-Version" always in email header
SVN revision: 2150
This commit is contained in:
parent
ee63efe9d2
commit
3ee927de84
@ -2085,8 +2085,7 @@ void compose_email_header(LOGBOOK * lbs, char *subject, char *from, char *to, ch
|
|||||||
snprintf(mail_text + strlen(mail_text), size - strlen(mail_text) - 1, "User-Agent: Elog Version %s\r\n",
|
snprintf(mail_text + strlen(mail_text), size - strlen(mail_text) - 1, "User-Agent: Elog Version %s\r\n",
|
||||||
VERSION);
|
VERSION);
|
||||||
|
|
||||||
if (multipart)
|
strlcat(mail_text, "MIME-Version: 1.0\r\n", size);
|
||||||
strlcat(mail_text, "MIME-Version: 1.0\r\n", size);
|
|
||||||
|
|
||||||
memset(subject_enc, 0, sizeof(subject_enc));
|
memset(subject_enc, 0, sizeof(subject_enc));
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user