mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.72k stars 339 forks source link

AWS SES Mail Config Options #304

Open discoverlance-com opened 3 months ago

discoverlance-com commented 3 months ago

This is more of a feature request but can there be the possibility to either load config options from the services.php file for aws ses mail setup or a json field that appends to the config of the email service for the ses adapter through the form?

Basically, I want to be able to add some ses config options to my ses email service such as reply to addresses. Currently, even though I added those config options to my services.php. It looks like the sesmailadapter does not use those config options probably to avoid conflict with the options in the application itself but this is a really needed feature because not every config option is covered in the form to add a new email service and for mail adapters like ses, there can be extra useful options that one needs to be configured.

I also tried setting a global reply to address to my mail.php config but it seems that sendportal core also does not pick it up.

elmudometal commented 1 month ago

No friend, sendportal does not use the Laravel configurations for its services since they have their own sender which is built with the variables loaded from the DB.