Closed sagepe closed 2 years ago
Just noting that this was recorded as an issue in https://github.com/mysociety/alaveteli-professional/issues/138, implemented in https://github.com/mysociety/alaveteli/pull/3706 and similar issue fixed in https://github.com/mysociety/alaveteli/pull/4948
When an email is received that was sent both to a regular support address and a Pro support address (as per the example in the title), the mail handling code will override the regular support address with the pro support address defined in
PRO_CONTACT_EMAIL
.See these lines in
reply_handler.rb
:The call to
MailHandler.get_all_addresses(message)
inmail_backend.rb
returns an array that includes things in CC:The first snippet then resets
forward_to
toAlaveteliConfiguration.forward_pro_nonbounce_responses_to
ifAlaveteliConfiguration.pro_contact_email
is found in theoriginal_to
array - which it will be in this case.More details available in this internal ticket.