For Developers By Developers

You can integrate Mailazy in minutes with your platform. Build and monitor your email solution on a trusted foundation with technical and strategic support when you need it the most.

Trusted by 120+ partners and delivering over 650 Million emails/month

Configure Email API with Ruby

Prerequisites

You need to complete these given prerequisites, you can skip the step if you have already complete.

  1. Sign up for a Mailazy account.

  2. Complete Domain Authentication.

  3. Generate the Mailazy Access Key

  4. Integrate API in your language.

Integration with Ruby

  • Start Sending mail using the code provided below:

require "uri"
require "net/http"
url = URI("https://api.mailazy.com/v1/mail/send")
https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = ""
request["X-Api-Secret"] = ""
request["Content-Type"] = "application/json"
request.body = '{
      "to": ["example@example.com"],
      "from": "Sender ",
      "subject": "",
      "content": [{"type": "text/plain","value": ""}]
}'
response = https.request(request)
puts response.read_body

Send transactional emails with Mailazy

Mailazy email delivery platform is powered by AI and uses the global infrastructure so that you can scale effortlessly. Mailazy is the trusted transactional email provider for hundreds of businesses and we are growing every day. We are known for being the most reliable and trusted senders on the internet.

Ready to get started?

Get started — it's free