Problem/Motivation
I have an a instance which I want to configure to send using this module + sends also from CiviCRM. To differentiate the bounce handling I want to add a AWS SeS Configuration Set so I can route the relevant requests to the relevant handlers.
While I can (and am) doing this via extending the AmazonSesHandler.php. It would be great to move this functionality back into this module. Would you be interested if I redid this as a MR as opposed to extending the AmazonSesHandler.php
Steps to reproduce
Proposed resolution
Would require adding an additional 'string' configuration to hold the name of the AWS SES configuration set, and adding an additional element to the array passed to 'sendEmail' https://git.drupalcode.org/project/amazon_ses/-/blob/3.0.x/src/AmazonSes...
Remaining tasks
User interface changes
Would add an additional configuration field - this would default to empty and if empty not pass a value through.
Comments
Comment #2
luke.stewart commentedI guess another option here would be to add a presend event and allow that to populate what parameters are being passed through to sendEmail.