Mail: remove impliicit headers (thanks unobe)
Setting headers from Mail can cause conflicts with the headers that upas/marshal adds when sending attachments. So, let's not set them.
This commit is contained in:
parent
0256a34560
commit
9923ea348c
1 changed files with 0 additions and 3 deletions
|
@ -67,9 +67,6 @@ postmesg(Comp *c, char **, int nf)
|
|||
chanfree(c->sync);
|
||||
close(c->fd[0]);
|
||||
|
||||
/* needed because mail is by default Latin-1 */
|
||||
fprint(c->fd[1], "Content-Type: text/plain; charset=\"UTF-8\"\n");
|
||||
fprint(c->fd[1], "Content-Transfer-Encoding: 8bit\n");
|
||||
buf = emalloc(Bufsz);
|
||||
while((n = read(fd, buf, Bufsz)) > 0)
|
||||
if(write(c->fd[1], buf, n) != n)
|
||||
|
|
Loading…
Reference in a new issue