Skip to content

Commit

Permalink
Release stable version and update README with fork info
Browse files Browse the repository at this point in the history
  • Loading branch information
himynameisjonas committed Oct 29, 2024
1 parent 8244e9d commit 17d3fea
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog

### 1.2.0.pre
- Support options via message headers [#2](https://github.com/Teamtailor/mail-ses/pull/2)
### 1.2.0

- Support different message_id domains for different AWS SES regions. [#10](https://github.com/tablecheck/mail-ses/pull/10)
- Support options via message headers. [#2](https://github.com/Teamtailor/mail-ses/pull/2), [ad18f13](https://github.com/Teamtailor/mail-ses/commit/ad18f133ecaa6d6a5c4765930fe1b3b413a498a8) and [00a3e97](https://github.com/Teamtailor/mail-ses/commit/00a3e97fea5caba10b5d9ef0d418f26ccb4b0e61)
- Use Standard instead of Rubocop.
- Publish the fork as a separate gem: [tt-mail-ses](https://rubygems.org/gems/tt-mail-ses).

### 1.1.0

Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[![Gem Version](https://badge.fury.io/rb/mail-ses.svg)](http://badge.fury.io/rb/mail-ses)
[![Github Actions](https://github.com/tablecheck/mail-ses/actions/workflows/test.yml/badge.svg)](https://github.com/tablecheck/mail-ses/actions/workflows/test.yml)
[![Github Actions](https://github.com/teamtailor/mail-ses/actions/workflows/test.yml/badge.svg)](https://github.com/teamtailor/mail-ses/actions/workflows/test.yml)

# Mail::SES

## Fork from [tablecheck/mail-ses](https://github.com/tablecheck/mail-ses)
This gem was forked to add support for different message_id domains for different AWS SES regions and support options via message headers.

Mail::SES is a mail delivery method handler for Amazon SES (Simple Email Service) which can be used with Rails' [Action Mailer](https://guides.rubyonrails.org/action_mailer_basics.html).

This gem is inspired by [Drew Blas' AWS::SES gem](https://github.com/drewblas/aws-ses),
Expand All @@ -23,7 +26,7 @@ Please use version 0.1.x of this gem for legacy Ruby and AWS SDK support.
In your `Gemfile`:

```ruby
gem 'mail-ses'
gem "tt-mail-ses", require: "mail-ses"
```

Next, make a new initializer at `config/initializers/mail_ses.rb`:
Expand Down Expand Up @@ -52,7 +55,8 @@ ActionMailer::Base.add_delivery_method :ses, Mail::SES,
region: 'us-east-1',
session_token: 'foobar',
retry_limit: 5,
retry_max_delay: 10
retry_max_delay: 10,
message_id_domain: "eu-west-1.amazonses.com"
```

In addition, the shortcut option `:use_iam_profile (Boolean)` which activates the IAM instance profile.
Expand Down Expand Up @@ -82,7 +86,6 @@ ActionMailer::Base.add_delivery_method :ses, Mail::SES,

You can override the default mail options on a per-mail basis by passing them in the `mail` method:


```ruby
class ApplicationMailer < ActionMailer::Base
def example
Expand Down
2 changes: 1 addition & 1 deletion lib/mail/ses/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Mail
class SES
VERSION = "1.1.0.pre2"
VERSION = "1.2.0"
end
end

0 comments on commit 17d3fea

Please sign in to comment.