summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-24 17:00:30 -0400
committerJune McEnroe <june@causal.agency>2020-04-24 17:00:30 -0400
commita986ba25ec68db6693952f72e730cabd69d52c26 (patch)
treec4ea4e494c4cde253e21d9a85f25ace1547b17df
parentWrap quoted lines in <q> (diff)
downloadbubger-a986ba25ec68db6693952f72e730cabd69d52c26.tar.gz
bubger-a986ba25ec68db6693952f72e730cabd69d52c26.zip
Use replyTo address in mailto:
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index fe2f6db..7281ac3 100644
--- a/html.c
+++ b/html.c
@@ -74,8 +74,8 @@ static char *htmlMailto(const struct Envelope *envelope) {
 		"mailto:[mailbox]@[host]?subject=[re][subject]&In-Reply-To=[messageID]"
 	};
 	struct Variable vars[] = {
-		{ "mailbox", envelope->from.mailbox },
-		{ "host", envelope->from.host },
+		{ "mailbox", envelope->replyTo.mailbox },
+		{ "host", envelope->replyTo.host },
 		{ "re", (strncmp(envelope->subject, "Re: ", 4) ? "Re: " : "") },
 		{ "subject", envelope->subject },
 		{ "messageID", envelope->messageID },