feat(examples): add Mailchimp Transactional example - #3710
Open
mmaxence wants to merge 1 commit into
Open
Conversation
Contributor
|
@mmaxence is attempting to deploy a commit to the resend Team on Vercel. A member of the Team first needs to authorize it. |
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Adds an example showing how to send a react-email template through Mailchimp's Transactional API (Mandrill), using the official
@mailchimp/mailchimp_transactionalSDK.Follows the structure of the existing brevo and mailtrap examples: render the template, pass the HTML to
messages.send. The SDK is a generated client and ships no bundled types, so I pinned the DefinitelyTyped@types/mailchimp__mailchimp_transactionaland verified the call shape against those types.Happy to add other providers if useful.
Summary by cubic
Adds an example for sending a
react-emailtemplate via Mailchimp Transactional (Mandrill) using the official@mailchimp/mailchimp_transactionalSDK. This extends provider coverage and mirrors existing Brevo/Mailtrap examples.Emailwithreact-emailand passes the HTML tomessages.send.@mailchimp/mailchimp_transactional@1.4.1with pinned@types/mailchimp__mailchimp_transactionaldue to missing bundled types.tsdowntargeting Node 20; example requiresMAILCHIMP_API_KEYto run.Written for commit 50adcd2. Summary will update on new commits.