fix: Mailgun reply-to header and named 'to' recipient support#16
Open
deepshekhardas wants to merge 5 commits into
Open
fix: Mailgun reply-to header and named 'to' recipient support#16deepshekhardas wants to merge 5 commits into
deepshekhardas wants to merge 5 commits into
Conversation
added 5 commits
March 16, 2026 17:56
Alibaba SMS signature validation requires query parameters, not body. Moved signature params from request body to URL query string. Identified by cubic (cubic.dev)
…ages API adapter - Add Utopia\Messaging\Messenger class for automatic failover across multiple adapters - Accepts single Adapter or Adapter[] - Tries adapters sequentially on exception - Validates adapter compatibility (same type and message type) - Returns first successful response or throws aggregated exception - Add VonageMessages adapter using Vonage Messages API (v1) - Uses Basic auth (Base64 encoded API Key:Secret) - JSON body with channel: SMS, message_type: text - Treats HTTP 202 as delivered - Rename Vonage to VonageLegacy (legacy SMS API) - Keeps backwards compatibility for existing users - Add tests: MessengerTest (14 cases), VonageMessagesTest, VonageLegacyTest
- Fix h:Reply-To header missing '=>' operator (was being ignored) - Add support for named recipients in 'to' field (matching cc/bcc format) - Fix from address format to RFC 5322 (space before <)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the Mailgun adapter to properly handle Reply-To header and adds support for named recipients in the 'to' field.
Changes
=>operator, causing Reply-To to be silently ignored['email' => '...', 'name' => '...']format matching cc/bcc"Name <email>"formatRelated Issue
This addresses the P1 bug found in PR utopia-php#114 where the Mailgun
h:Reply-Toentry was a numeric-indexed value instead of a keyed header.Summary by cubic
Fixes Mailgun Reply-To handling and recipient formatting. Adds new SMS adapters and a Messenger for automatic failover to improve delivery and error visibility.
New Features
Bug Fixes
h:Reply-Tocorrectly, support namedtorecipients, and use RFC 5322-compliantfromformat.Written for commit ec8380b. Summary will update on new commits.