Email testing and programming guides

Learn how MailSlurp works and how you can use it to achieve email related tasks using the official Javascript client.



Send and receive email attachments. How to attach files to SMTP emails.

Creating inboxes

How to create an inbox with MailSlurp to send and receive emails with.

Email address custom domain setup - (step by step guide)

How to create email address with wild-card catch all using MailSlurp. Screenshots included.

Email tracking pixels

See if emails are opened by sending tracking pixels. Receive open events via Webhook or view which recipients opened an email in the MailSlurp dashboard

Email verification: checking a list of email addresses to reduce bounces

Avoid bounces and deliver emails to your customers with email verification and validation.

Find and retrieve content within emails

Use regex or server side matching to extract email content

How to configure Mail desktop clients with MailSlurp

How to setup MailSlurp with Outlook, Gmail, Thunderbird, Mail app and more.

Inbox rules: permissions and routing (allow, block, filter)

How to set inbox routing rules to block or allow inbound or outbound emails using patterns.

Introduction to MailSlurp

Install and configure MailSlurp using SDK libraries or REST API.

Receive emails and attachments with Webhook Push

Receive emails with http webhooks. Webhooks let you respond to inbound email streams in real time on your server or within an application.

Receiving emails

Read emails and attachments in code and tests. Wait for unread emails using long-polling or webhooks.

SMTP IMAP Settings

How to access MailSlurp email accounts using IMAP and SMTP servers

Sending emails in code and tests

How to send emails and attachments in code and tests.

Setup email aliases

Email forwarding API for automatic email proxy. Setup auto-forwarding email aliases to mask a real email address.

Team email accounts

How to manage MailSlurp team access to an organization.

Testing User Sign-Up and Email Confirmation

A tutorial on testing email dependant actions using MailSlurp test email accounts. Intercept inbound emails in tests and extract confirmation codes to test user sign-up and email verification.

Testing email-related functionality with MailSlurp

Use MailSlurp to test email related functionality using real email addresses.

Wait for matching email content

How to wait for emails in code that match search criteria. Pattern matching and regular expressions.


Use your api access token to call the MailSlurp API and control your inboxes remotely.

Configure inbox forwarders to automatically forward received emails matching rules you setup.

How to send emails that don't trigger a spam warning.

What is BCC email field (blind carbon copy) and how does it differ to CC?

BCC and CC in SMTP emails

How to encode files as Base 64 encoded strings in several languages

SMTP mailserver testing and usage in CSharp using

How to use CSharp SMTP client to send email with MailSlurp mail server

Configure identity providers like Okta to enable enterprise SSO login

How to enable custom domains with DNS Records in your hosting provider

Send and receive test email accounts (3 easy steps)

How to use custom domains with MailSlurp to create your own email addresses.

Use MailSlurp to fetch name server records. These are useful for verifying domains and querying mail servers.

Email dashboards for testing and development

Send and receive emails in Deno JS. Use APIs in Deno with MailSlurp.

Difference between IMAP POP3 and SMTP

Build powerful applications and test suites using real email addresses in code. Create inboxes on demand then send and receive emails and attachments in Javascript, Go, PHP, Ruby, Java, C#, REST and more.

Check email addresses are real and exist using MailSlurp email verification.

Use MailSlurp's attachment endpoints to upload, send, receive, and download attachments.

Use dummy test email accounts to test email end-to-end.

How to control the seen or read settings for an email using MailSlurp.

Email size limits

MailSlurp custom email address guide for catch all email routing.

Create auto expiring inboxes using MailSlurp disposable mailboxes

Fetching emails in code

Submit forms directly to email. No code or sign-up required.

Fetch and read emails with GraphQL inboxes using MailSlurp email API.

There are many free tools to test emails before sending. This can help prevent spam warnings and increase deliverability.

How to read emails and attachments in application, tests, or the MailSlurp dashboard.

A guide to reduce rate-limit exceptions when using HTTP APIs

How MailSlurp secures your emails and what security features are available.

Free IP Address API. Query IP address for domains and urls.

Integrate MailSlurp into your application or test. Try an example project to learn how.

Use SMTP nodemailer with MailSlurp disposable email addresses

How to test SMTP, POP3, and IMAP inboxes using MailSlurp.

How to manage sending limits and spam detection

Mailto link use in HTML

Setup team enterprise access using identity providers such as AD, Okta, OneLogin and more.

NBSP HTML Entities

How to send and receive emails in PHP

Manage payment, access, and usage limits. How to upgrade, alter your subscription, and view invoices.

Receive emails in code and tests

Setup bounce notification webhooks for your account to reduce email bounces

How to refresh your account API Key

How to use SMTP relay to address spam and security issues that affect outbound mail servers.

The difference between HTTP and SMTP inboxes and domains in MailSlurp.

How to send emails using the Dashboard, API, or SDK clients.

How to send email with telnet mail commands

Analyse emails for vulnerabilities and viruses. Get DMARC, SPF, and DKIM verdicts for emails with MailSlurp.

Every email service provider, such as Google's Gmail, has a unique spam filter, which means that your test emails must be thorough.

Manage team access to email inboxes within an organization.

Free test email address for testing emails online with web dashboard or REST API.

How to test HTTP webhooks using MailSlurp test hooks.

Test email accounts for CypressJS. End-to-end testing with real email addresses using MailSlurp Cypress plugin.

Use MailSlurp's Playground to test ideas or integrations with a real user sign-up, verification, and login process.

How to manage email subdomain custom mailboxes using SMTP/IMAP mailserver settings.

Transactional Email API Fundamentals

Wait for email API

Fetch emails and attachments in code waiting for new emails to arrive using MailSlurp

MailServers use TCP ports to transmit emails. Picking the right port between 25 vs 2555, 465 vs 587 in SMTP is easy with this guide.

What are DKIM records

What are SMTP ports

How do SMTP servers work and what is a fake smtp server