aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/email_helpers.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-05-12 12:43:04 +0100
committerGareth Rees <gareth@mysociety.org>2015-05-13 10:53:10 +0100
commitda6c11531a761847ee129f92677a44fdb02de04e (patch)
treea0722942ab0907cc974b08c25f431245cc4a14e9 /spec/support/email_helpers.rb
parentcfed22d9a2d4fab6c8d008a74bcdf97c908384c2 (diff)
Discard rejected responses with malformed From:
Stops the RequestMailer trying to send a stopped_responses mail if the To: address can’t be parsed from the incoming message. ArgumentError: An SMTP To address is required to send a message. Set the message smtp_envelope_to, to, cc, or bcc address.
Diffstat (limited to 'spec/support/email_helpers.rb')
0 files changed, 0 insertions, 0 deletions