From eb4ec99d2e88d1f53542bf8790eced6639c26122 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 26 Apr 2020 19:01:02 -0400 Subject: Include Cc address in reply mailtos --- html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html.c b/html.c index 5acbdf2..a8c344e 100644 --- a/html.c +++ b/html.c @@ -72,12 +72,14 @@ htmlAddressList(FILE *file, const char *class, struct AddressList list) { static char *htmlReply(const struct Envelope *envelope) { const char *template = { "mailto:[mailbox]@[host]" - "?subject=[re][subject]" + "?cc=[cc]" + "&subject=[re][subject]" "&In-Reply-To=[<][messageID][>]" }; struct Variable vars[] = { { "mailbox", envelope->replyTo.mailbox }, { "host", envelope->replyTo.host }, + { "cc", baseAddress }, { "re", (strncmp(envelope->subject, "Re: ", 4) ? "Re: " : "") }, { "subject", envelope->subject }, { "messageID", envelope->messageID }, -- cgit 1.4.1