See the IMAP/SMTP documentation for a developer guide.

MailSlurp gives you SMTP and IMAP access to email addresses that you create. For best results use the SMTP_INBOX type email mailbox when you create the address. You can get SMTP or IMAP access details inside the dashboard or by using the API to get your credentials.

Find your SMTP IMAP settings

Login to [your MailSlurp account]( or create a free account. On the dashboard homescreen you will see a tab of account details. Click the SMTP/IMAP tab to reveal your SMTP IMAP settings.

Server overview

Here are the main URLs for IMAP and SMTP access:

SMTPmx.mailslurp.com25falseSMTP server
SMTPmx.mailslurp.com2525falseSMTP server
SMTPmailslurp.mx587trueSMTP server (secure)
SMTPmailslurp.mx2587trueSMTP server (secure)
SMTPmailslurp.mx465trueSMTP server (secure)
SMTPmailslurp.mx2465trueSMTP server (secure)
IMAPmailslurp.click1143falseIMAP server
HTTP(S)api.mailslurp.com80trueREST API server

Note that only inboxes created with the mailbox type allow access via SMTP and IMAP. See the guide for differences in inbox type.

Get IMAP / SMTP access by curl

You can also access your SMTP or IMAP settings using the command line with your API_KEY.

Get IMAP / SMTP access in code and tests

There are methods in every offical code library like that return the SMTP and IMAP settings for your account. Use these details to configure SMTP clients in your applications or tests.

CSharp example

More information