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

Relocate ActionMailer and deprecate its railtie method #159

Merged
merged 8 commits into from
Nov 12, 2024
Merged

Conversation

mullermp
Copy link
Contributor

@mullermp mullermp commented Nov 7, 2024

This change moves the ActionMailer mailers to aws/aws-actionmailer-ses-ruby#1 and changes their namespace and class names. The railtie method that has caused issues is also removed. With this approach, customers are advised to configure their own delivery method using whatever class and name they want to, as well as providing client options. This change also updates the testing guide for this feature.

@mullermp mullermp requested a review from alextwoods November 7, 2024 16:19
@mullermp
Copy link
Contributor Author

mullermp commented Nov 10, 2024

@admtnnr This is where I did the refactoring work - I ended up removing automatic registration. I think I'll keep that bit regardless, but it sounds like you want this in a separate gem, too.

sample-app/README.md Outdated Show resolved Hide resolved
@mullermp mullermp changed the title Refresh ActionMailer and deprecate its railtie method Relocate ActionMailer and deprecate its railtie method Nov 12, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
Gemfile Outdated
@@ -4,6 +4,8 @@ source 'https://rubygems.org'

gemspec

gem 'aws-actionmailer-ses', git: 'https://github.com/aws/aws-actionmailer-ses-ruby', branch: 'init'
Copy link
Contributor

Choose a reason for hiding this comment

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

why branch init here? Is this just temporary for testing until we merge the other PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah this was temporary. I'm going to again keep this here until we release aws-sdk-rails and all four gems have been published.

@@ -202,14 +202,24 @@ use the provided Rake task:
rake dynamo_db:session_store:clean
```

## Amazon Simple Email Service (SES) as an ActionMailer Delivery Method
## ActionMailer delivery with Amazon Simple Email Service
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we go ahead and just link to the README in the other repo here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the plan but I wasn't sure whether to do that now or later (trying to avoid confusion) because the other readme says to install the gem which doesn't exist. For now I just duplicated the info and will delete this in one sweep.

@mullermp mullermp merged commit 7fb40c4 into main Nov 12, 2024
12 checks passed
@mullermp mullermp deleted the actionmailer branch November 12, 2024 19:46
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.

3 participants