about summary refs log tree commit diff
path: root/html.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-09 20:51:44 -0400
committerJune McEnroe <june@causal.agency>2020-04-09 20:51:44 -0400
commit5f7caae62c6a33845be6e2202d054b5ebfb33dca (patch)
treeacc49887c9f236b9583e747e65920416ebac9a11 /html.c
parentRender date in HTML envelope (diff)
downloadbubger-5f7caae62c6a33845be6e2202d054b5ebfb33dca.tar.gz
bubger-5f7caae62c6a33845be6e2202d054b5ebfb33dca.zip
Use replyTo for mailto URL
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 3ebf9c3..9067450 100644
--- a/html.c
+++ b/html.c
@@ -41,8 +41,8 @@ static const char *Envelope = TEMPLATE(
 
 int htmlEnvelope(FILE *file, const struct Envelope *envelope) {
 	struct Variable mailtoVars[] = {
-		{ "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 },