fix requests not being sent to the cc recipients
Compare changes
- Frederik Schwan authored
From a SMTP pov, the To and Cc header are not read. The real recipient is stated at the begining of a send mail transaction. It's up to the client to collect this recipient list. Sendmail does this by reading the To and Cc header. smtplib doesn't do this when being invoked with an explicit To array. This commit adds the Cc people to the recipient array. The issue has been introduced by the switch from sendmail to smtplib.
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 37
− 8
@@ -78,7 +78,7 @@ class Notification:
@@ -117,7 +117,6 @@ class Notification:
@@ -136,6 +135,9 @@ class ResetKeyNotification(Notification):
@@ -184,6 +186,9 @@ class CommentNotification(Notification):
@@ -228,6 +233,9 @@ class UpdateNotification(Notification):
@@ -276,6 +284,9 @@ class FlagNotification(Notification):
@@ -315,6 +326,9 @@ class OwnershipEventNotification(Notification):
@@ -350,6 +364,9 @@ class ComaintainershipEventNotification(Notification):
@@ -394,6 +411,9 @@ class DeleteNotification(Notification):
@@ -435,7 +455,7 @@ class RequestOpenNotification(Notification):
@@ -444,10 +464,13 @@ class RequestOpenNotification(Notification):
@@ -491,7 +514,7 @@ class RequestCloseNotification(Notification):
@@ -504,10 +527,13 @@ class RequestCloseNotification(Notification):
@@ -554,6 +580,9 @@ class TUVoteReminderNotification(Notification):