Learn how to send your first email using the Resend Ruby SDK.
gem install resend
html
require "resend" Resend.api_key = "re_xxxxxxxxx" params = { "from": "Acme <onboarding@resend.dev>", "to": ["delivered@resend.dev"], "subject": "hello world", "html": "<strong>it works!</strong>" } sent = Resend::Emails.send(params) puts sent
Was this page helpful?