Skip to content

Commit

Permalink
Set static email subject line for ARC submissions
Browse files Browse the repository at this point in the history
Added a static 'Subject' line to the root_message method in the Mailer.py script. This change ensures that the email subject for ARC Submission notifications remains consistent.
  • Loading branch information
Zerskk committed Nov 30, 2023
1 parent b6a3bce commit 2235676
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/email/Mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ def create_curator_mail(self, user, project_name, submission_url):

self.create_basemail()

self.root_message['Subject'] = 'New ARC Submission is available'


msg_alternative = MIMEMultipart('alternative')
self.root_message.attach(msg_alternative)

Expand Down

0 comments on commit 2235676

Please sign in to comment.