An alternative to Mailinator is Guerrilla Mail.

Upgrade Your Email Testing with MailSlurp - A Modern Alternative to Mailinator. Send & receive test emails using MailSlurp's API and dashboard. Try for free!

  • Table of contents

mailinator Mailinator is a popular email testing tool that lets you create test email accounts. It is used by QA testers and developers to test email processes and application. Mailinator is quite old and lacks many modern features. An alternative is MailSlurp - a free email API with a powerful dashboard and libraries in many common programming languages.

MailSlurp email service

MailSlurp is an email test account service that lets you generate real email addresses in code or using a web app.

dashboard

You can create email addresses, compose emails, send and receive attachments, validate email ratings and more.

analysis

Email in code

You can also send and receive email in tests and coding using the official SDKs. Here is an example in PHP:

public function test_canSendEmail(): void
{
    // create a new inbox
    $inboxController = new MailSlurp\Apis\InboxControllerApi(null, $this->config);
    $inbox = $inboxController->createInbox();

    // send options
    $sendOptions = new MailSlurp\Models\SendEmailOptions();
    $sendOptions->setTo([$inbox->getEmailAddress()]);
    $sendOptions->setSubject("Welcome");
    $sendOptions->setIsHtml(true);
    // (you can use normal strings too)
    $sendOptions->setBody(<<<EOF
        <html>
            <h1>MailSlurp supports HTML</h1>
        </html>
    EOF);

    // send
    $inboxController->sendEmail($inbox->getId(), $sendOptions);
}

Get started

Create a free account to get started.