summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
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 },