SuperSend TX Ruby SDK

Official Ruby client for the SuperSend TX transactional email API.

gem install supersendtx
require "supersendtx"

tx = SuperSendTX::Client.new("stx_your_key_here")

result = tx.emails.send(
  from: "you@yourdomain.com",
  to: "user@example.com",
  subject: "Hello",
  html: "<p>It works.</p>"
)

puts result["id"], result["status"]

Docs: https://docs.supersendtx.com/sdks/ruby