diff options
author | Paul J Stevens <paul@nfg.nl> | 2010-01-25 09:34:49 +0100 |
---|---|---|
committer | Paul J Stevens <paul@nfg.nl> | 2010-01-25 09:34:49 +0100 |
commit | bbb84b908f8a643b1662223f01103071e10dab9d (patch) | |
tree | 647782f7ea8a0f12f83e14a6a8e1c25f7bdf5af0 | |
parent | 076af4c7e47ddc8be13e2576ff5845fc6c4c98a0 (diff) |
fix inverted to/from headers in autoreply
-rw-r--r-- | pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -411,7 +411,7 @@ static int send_reply(struct DbmailMessage *message, const char *body, GList *al char *newsubject = g_strconcat("Re: ", subject, NULL); struct DbmailMessage *new_message = dbmail_message_new(); - new_message = dbmail_message_construct(new_message, from, to, newsubject, body); + new_message = dbmail_message_construct(new_message, to, from, newsubject, body); dbmail_message_set_header(new_message, "X-DBMail-Reply", from); result = send_mail(new_message, to, from, NULL, SENDMESSAGE, SENDMAIL); |