Skip to content

Add MailerSend email provider - #53

Merged
eelcoj merged 1 commit into
Rails-Designer:mainfrom
pcbeingused333:add-mailersend-provider
Aug 31, 2026
Merged

eelcoj merged 1 commit into
Rails-Designer:mainfrom
pcbeingused333:add-mailersend-provider

Conversation

@pcbeingused333

Copy link
Copy Markdown
Contributor

The provider posts to https://api.mailersend.com/v1/email and authenticates with
Authorization: Bearer <api_key>. MailerSend expects addresses as objects
({"email" => "..."}), with to, cc and bcc as arrays, so the provider maps
Courrier's comma-separated address strings into that shape and drops any blank
fields with .compact.

Scope is transactional email only — no subscriber support in this PR.

  • lib/courrier/email/providers/mailersend.rb — the provider
  • lib/courrier/email/provider.rb — require + registry entry
  • README.md — added to the supported providers list
  • test/courrier/email/providers/mailersend_test.rb — body formatting, auth header, registry lookup

Full suite passes locally: 103 runs, 191 assertions, 0 failures, 0 errors, 0 skips.

El título (Add MailerSend email provider) ya está bien, coincide con la convención del repo.

@pcbeingused333 pcbeingused333 mentioned this pull request Aug 7, 2026
6 tasks
@eelcoj
eelcoj force-pushed the add-mailersend-provider branch from 1cb1897 to d4d6cc1 Compare August 31, 2026 11:14
@eelcoj
eelcoj merged commit a93ea3e into Rails-Designer:main Aug 31, 2026
@eelcoj

eelcoj commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

@pcbeingused333 thanks for this; also for the other opened PRs. ❤️

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.

2 participants