Create email accounts in code and tests, send and receive emails and attachments in Ruby and Rails. Simple and powerful email APIs with examples and integrations for many frameworks. Test your applications using real emails with Cucumber and Rspec.
Examples of sending email in Ruby
First require the standard smtp library
Configure the ruby service to use the MailSlurp SMTP server:
Net::SMTP.start('mx.mailslurp.com', 2525, 'greeting.your.domain') do |smtp| smtp.send_message 'Hello', 'firstname.lastname@example.org', 'email@example.com' end
Receive email in DotNET Core using C# and MailSlurp
Developer documentation and guides for MailSlurp's email APIs. REST, SDKS, Graphql, SMTP and more. MailSlurp is an email and SMS API service for develop
Golang Email Library for sending and receiving emails in Go over SMTP or HTTP/S.
PHP email API for creating inboxes, sending email, and receiving attachments in code and tests.
Ruby Mailer SDK - send and receive emails in Rails, Rspec and more using MailSlurp's official email Gem
Receive email and attachments with Rails, Rspec, and Ruby without SMTP using MailSlurp Ruby Gem.
Temporary email API for disposable email accounts. Free for personal use with REST API and clients in NodeJS, CSharp and more.
Alternatives to Mailinator for test email accounts. Create real email addresses using MailSlurp
How to create SDK libraries a language of your choice
Python automation email testing Robotframework plugin
Cucumber example project using Capybara to test user authentication using real email addresses.
Generate test email accounts with Ruby and Cucumber. Test email sign-up, password verification and more.
Use MailSlurp's attachment endpoints to upload, send, receive, and download attachments.
Fetch and read emails with GraphQL inboxes using MailSlurp email API.
How to use Ruby SMTP client to send email with the MailSlurp mail servers
Email custom domains with API access
Create email inboxes using MailSlurp's API
MailSlurp API entities and how to use them
How to receive emails directly in code, applications, and tests. Use MailSlurp to send and receive SMTP emails.