Mayfly docs
Read your test mail by hand in the app, or from your tests through the API.
By hand
You click through your app and read the mail in Mayfly.
- Find your address on Overview
- Use any name at it in your app
- Copy the code from the inbox
In your tests
Your Playwright, Cypress or other tests read the mail through the API.
- Get an API key
- Wait for the mail with one call
- Use the code in the answer
Setting up a workspace? See Your own domain, Single sign-on, Team and plans, Audit log and SCIM provisioning. Every endpoint is in the API reference.