Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert action mailer config validation #137

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Revert action mailer config validation #137

merged 1 commit into from
Jul 31, 2024

Conversation

mullermp
Copy link
Contributor

Fixes #136

It looks like name was overloaded for adding additional mailers of the same class. We could consider adding a "v2" delivery method instead of a major version bump, but I'd rather the method signature add_action_mailer_delivery_method(name, mailer, client_options = {}). I can't add mailer as a default param to the end because of keyword arguments potentially being used as client options.

@mullermp mullermp requested a review from alextwoods July 31, 2024 13:47
Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - and agree this is probably the right fix within this MV and free form name + configured class (ses/sesv2) is probably the right long term (new mv) fix.

@mullermp mullermp merged commit e97dddc into main Jul 31, 2024
17 checks passed
@mullermp mullermp deleted the revert-am-validate branch July 31, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sending Action mailer emails from different regions in the same application instance
2 participants