Background


Email APIs let you create email addresses on demand during automated tests.

Why?

Basics

Environments


Selenium is an integration test framework with C# bindings. We can use it with test email accounts to send and receive emails from code and tests.

Example application


How to send and receive emails in Cypress integration tests using Javascript and the free MailSlurp library.

What is Cypress Js?

An example login form being tested with Cypress.

Testing with real email addresses


Create embeddable HTML forms that submit directly to your email address.

With MailSlurp you can receive form submissions directly to your email address — no server or Javascript required. Plus it’s free :)

Why? (it’s simple and free)

1. Create an HTML form

<form 
action="https://api.mailslurp.com/forms?_to=YOUR_EMAIL_ADDRESS"
method="post">
<!-- inputs will go here -->
</form>

2. Add inputs you wish to receive

<form 
action="https://api.mailslurp.com/forms?_to=YOUR_EMAIL_ADDRESS"
method="post">
<!-- add any input field -->
<input name="birthday" placeholder="Please enter your birthday">
<button type="submit">Submit</button>
</form>

3. Receive submissions to your email address


How to send and receive email in applications and tests using on-demand email accounts.

REST API and SDKs

Email addresses on demand

// create a randomly assigned email address
const inbox = await mailslurp.createInbox()
console.log(inbox.emailAddress)

// create a custom email address with your own domain
const customInbox = await mailslurp.createInbox('user@mydomain.com')

Fetch emails in code


Quickly graph and visualize your data with an open-source data platform.

Redash is an open-source data visualization tool that is easily deployed to with Terraform and AWS.

What is Redash?

Why deploy self-hosted Redash?

How does Redash work?


How to create email addresses dynamically in code to test your app’s user sign-up, email confirmation, and password reset properly.

How do you test email confirmation steps E2E?

Background

Email testing APIs


Use test email accounts with Cucumber and MailSlurp to fully test user sign-up, email confirmation, and more.

Send and Receive emails in applications and tests with MailSlurp

Cucumber meet MailSlurp


End-to-end testing with real email addresses. Unlimited test email accounts for applications or tests. Free for personal use!

About

Testing with real email addresses

MailSlurp | Email APIs for developers

Test Email API for end-to-end with real email addresses. Support for NodeJS, PHP, Python, Ruby, Java, C# and more. See https://www.mailslurp.com for details.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store