Skip to content

Commit 17d3fea

Browse files
committedOct 29, 2024·
Release stable version and update README with fork info
1 parent 8244e9d commit 17d3fea

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed
 

‎CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog
22

3-
### 1.2.0.pre
4-
- Support options via message headers [#2](https://github.com/Teamtailor/mail-ses/pull/2)
3+
### 1.2.0
4+
5+
- Support different message_id domains for different AWS SES regions. [#10](https://github.com/tablecheck/mail-ses/pull/10)
6+
- 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)
7+
- Use Standard instead of Rubocop.
8+
- Publish the fork as a separate gem: [tt-mail-ses](https://rubygems.org/gems/tt-mail-ses).
59

610
### 1.1.0
711

‎README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
[![Gem Version](https://badge.fury.io/rb/mail-ses.svg)](http://badge.fury.io/rb/mail-ses)
2-
[![Github Actions](https://github.com/tablecheck/mail-ses/actions/workflows/test.yml/badge.svg)](https://github.com/tablecheck/mail-ses/actions/workflows/test.yml)
2+
[![Github Actions](https://github.com/teamtailor/mail-ses/actions/workflows/test.yml/badge.svg)](https://github.com/teamtailor/mail-ses/actions/workflows/test.yml)
33

44
# Mail::SES
55

6+
## Fork from [tablecheck/mail-ses](https://github.com/tablecheck/mail-ses)
7+
This gem was forked to add support for different message_id domains for different AWS SES regions and support options via message headers.
8+
69
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).
710

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

2528
```ruby
26-
gem 'mail-ses'
29+
gem "tt-mail-ses", require: "mail-ses"
2730
```
2831

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

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

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

85-
8689
```ruby
8790
class ApplicationMailer < ActionMailer::Base
8891
def example

‎lib/mail/ses/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Mail
44
class SES
5-
VERSION = "1.1.0.pre2"
5+
VERSION = "1.2.0"
66
end
77
end

0 commit comments

Comments
 (0)
Please sign in to comment.