Integrate with Reloop using Ruby
Official Ruby SDK for Reloop. A few lines of code to send production email.
Install
bash
gem install reloop-emailSend email
send_email.rb
1require 'reloop'2
3Reloop.api_key = ENV['RELOOP_API_KEY']4
5params = {6 from: 'Acme <onboarding@yourdomain.com>',7 to: ['delivered@yourdomain.com'],8 subject: 'Hello from Ruby',9 html: '<strong>It works!</strong>'10}11
12email = Reloop::Emails.send(params)13puts "Email sent: #{email[:id]}"Send with Ruby.
Get an API key, verify your domain, and ship transactional email in minutes.