diff options
author | June McEnroe <june@causal.agency> | 2020-04-26 19:01:02 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-26 19:01:02 -0400 |
commit | eb4ec99d2e88d1f53542bf8790eced6639c26122 (patch) | |
tree | cf542d4aa00ea673a7fb9765d87cb164f6fa3dad | |
parent | Use %R for RFC numbers in STANDARDS section (diff) | |
download | bubger-eb4ec99d2e88d1f53542bf8790eced6639c26122.tar.gz bubger-eb4ec99d2e88d1f53542bf8790eced6639c26122.zip |
Include Cc address in reply mailtos
Diffstat (limited to '')
-rw-r--r-- | html.c | 4 |
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 }, |