SMTP vs HTTP MailSlurp inboxes

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

MailSlurp offers two types of inbox: SMTP or HTTP. Both act like regular email addresses - they can send and receive emails and attachments on demand. They differ in which mail server processes inbound emails and whether they can be accessed in clients like Outlook, Mail, and Exchange.

inbox types

HTTP inboxes

HTTP inboxes are the default inbox type. They use AWS SES to process emails and are best used for test email accounts and internal email addresses. They are fast and reliable but may not support some legacy email clients such as Outlook. Please use SMTP inboxes for public facing email addresses or if you wish to have traditional SMTP IMAP accesses.

await mailslurp.createInboxWithOptions({ inboxType: 'HTTP_INBOX '})

SMTP inboxes

SMTP inboxes use a custom SMTP mail server running at and an IMAP server running at SMTP inboxes supports a wide range of email clients and allow you to use MailSlurp with Outlook, Gmail etc. plus in applications using SMTP/TCP clients. SMTP inboxes are best used for public facing email accounts that receive emails from customers and external contacts or for advanced access using .

await mailslurp.createInboxWithOptions({ inboxType: 'SMTP_INBOX '})

For a list of POP3, IMAP, and SMTP ports and hosts see the MailServer guide.

Custom domain support

To use custom domains with MailSlurp create a domain that is either HTTP or SMTP type. The domain type determines the type of inbox that can be used with it. See the domain creation guide for more information or the SMTP IMAP access guide.

Diagnose email receiving

If your inbox is not working as expected or is not receiving emails please refer to the guide on diagnosing email receiving.

Related content

Java email client: send and receive emails and attachments i...

MailSlurp Java SDK for sending and receive email and attachments on the JVM.

SMTP email application libraries

How to send email in CSharp, PHP, Ruby, Java, Python, and NodeJS using the SMTP protocol and MailSlurp mailservers.

What Is Amazon Simple Storage Service (SES) - And How Can I ...

Amazon SES is an email service among virtual servers, AI apps, and libraries. Ideally, you can integrate your email syst...

Avoiding email spam filters

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

BCC and CC in SMTP emails

BCC and CC in SMTP emails

BCC For Email: What It Means And When To Use It

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

Ready to dive in?Start building email applications today.