@@ -24,13 +24,13 @@ Released: {candidate.release_date}
To view this candidate and download the source and binary image, visit:
https://sfconservancy.org{reverse('usethesource:candidate', kwargs={'slug': candidate.slug})}
--
{signature}
(Via http//sfconservancy.org{reverse('usethesource:landing')})'''
(Via https://sfconservancy.org{reverse('usethesource:landing')})'''
headers = {'Message-ID': candidate.email_message_id}
return EmailMessage(subject, body, sender, to, headers=headers)
def make_comment_email(comment):
"""Email when a comment is added to a candidate."""
@@ -44,13 +44,13 @@ def make_comment_email(comment):
headers = {'Message-ID': comment.email_message_id}
if in_reply_to := comment.in_reply_to():
# From my testing, both "In-Reply-To" and "References" headers trigger
# email threading in Thunderbind. Sticking to "In-Reply-To" for now.
headers['In-Reply-To'] = in_reply_to