SendEmail Reactor Will Try to Send Email with no valid To, Cc, or Bcc Headers

Bug #1837454 reported by Jason Stephenson
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Medium
Unassigned

Bug Description

The SendEmail Reactor for Action Trigger will attempt to send an email, even if all of the To, Cc, and Bcc headers are empty.

I noticed this with the 3 Day Courtesy Notices. There are messages like this in the mail logs that seem to correspond to templates with an empty To header:

2019-07-22 15:09:42 SMTP protocol error in "DATA" H=localhost (localhost.localdomain) [::1] valid RCPT command must precede DATA

The SendEmail reactor should check if there is at least 1 email-ish looking thing in the To, CC, and/or Bcc headers before attempting to deliver an email.

Otherwise, chained validators would be a cool thing.

summary: - SendEmail Reactor Will Try to Send Email with no valid, To, Cc, or Bcc
+ SendEmail Reactor Will Try to Send Email with no valid To, Cc, or Bcc
Headers
Changed in evergreen:
importance: Undecided → Medium
tags: added: actiontrigger
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.