Skip to content

Email testing and SMS verification examples using MailSlurp and a wide range of frameworks.

Notifications You must be signed in to change notification settings

mailslurp/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailSlurp Examples 📨

Create email addresses on demand then send and receive emails in code and tests. Test apps end-to-end with real email addresses

This repository contains examples of MailSlurp usage with a range of different languages and frameworks. See the README.md or Makefile in each module for more information.

See developer page for more guides and documentation. If you notice an issue in the examples please open an issue, pull request, or contact support.

Projects

Running locally

If you wish to run these examples yourself:

  • clone the repository.
  • create an .env file in the root directory containing API_KEY=your-mailslurp-api-key.
  • to run an example cd into the directory and run make test or API_KEY=your-api-key make test.

Static site

Examples are hosted statically on mailtesting.net. The site is built using Jeykll and hosted on GitHub pages. To update the site run make in the root directory. This will build the site. Commit the site and push to GitHub to update the live site.