Ruby Developer Documentation

Learn how to configure your Ruby SMTP client to use MailSlurp SMTP server and get access details in this documentation page

  • Table of contents

This page has moved.

SMTP setup example

First require the standard smtp library

require 'net/smtp'

Configure the ruby service to use the MailSlurp SMTP server:

Net::SMTP.start('', 2525, 'greeting.your.domain') do |smtp|
  smtp.send_message 'Hello', '', ''

Get access to MailSlurp SMTP server

First create a free account and create a mailbox. Then generate SMTP access details that can be used to configure your SMTP client in Ruby.

Email and SMS Platform
Create a free account in 3 clicks