[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] Adding subject in msg-send.c
From: |
Kidong Lee |
Subject: |
[bug-mailutils] Adding subject in msg-send.c |
Date: |
Thu, 6 Mar 2003 17:15:42 +0900 |
User-agent: |
Mutt/1.4i |
Hello,
When I try to add Subject header in examples/msg-send.c(see diff file),
But there's no Subject header in the received mail.(The patch has no effect.)
On the contrary, When I comment out message_set_stream()(at 121 line,
version 0.3), there's Subject header in the mail.(In this case, there's
no body, of course)
There seems to be some kind of conflict between message_set_stream() and
message_set_header().
Is it bug? or is there any fault?
---------------
$ diff msg-send.c.orig msg-send.c
69a70
> header_t hdr = 0;
120d120
< C (message_set_stream (msg, in, NULL));
121a122,125
>
> C (header_create (&hdr, NULL, 0, msg));
> C (header_set_value (hdr, "Subject", "subject test", 1));
> C (message_set_header(msg, hdr, NULL));
- [bug-mailutils] Adding subject in msg-send.c,
Kidong Lee <=