summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J Stevens <paul@nfg.nl>2010-01-25 09:34:49 +0100
committerPaul J Stevens <paul@nfg.nl>2010-01-25 09:34:49 +0100
commitbbb84b908f8a643b1662223f01103071e10dab9d (patch)
tree647782f7ea8a0f12f83e14a6a8e1c25f7bdf5af0
parent076af4c7e47ddc8be13e2576ff5845fc6c4c98a0 (diff)
fix inverted to/from headers in autoreply
-rw-r--r--pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pipe.c b/pipe.c
index 34383b44..23c07ca3 100644
--- a/pipe.c
+++ b/pipe.c
@@ -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);