Skip to content

Add MailerSend email provider - #53

Open
pcbeingused333 wants to merge 1 commit into
Rails-Designer:mainfrom
pcbeingused333:add-mailersend-provider
Open

Add MailerSend email provider#53
pcbeingused333 wants to merge 1 commit into
Rails-Designer:mainfrom
pcbeingused333:add-mailersend-provider

Conversation

@pcbeingused333

Copy link
Copy Markdown

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.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pcbeingused333 pcbeingused333 mentioned this pull request Aug 7, 2026
6 tasks
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.

1 participant