Skip to content
Facteur
/ Comparison

Facteur and Mailisk

Mailisk receives test emails in namespaces. It also documents SMS testing. Here is what it publishes, then what Facteur does.

Sources

What Mailisk publishes

Each line is something Mailisk publishes. It carries the address of the page where we read it and the date we read it. What we could not check is not here. These pages change: read the source again before you decide.

  1. 01

    Mailisk calls its inboxes "namespaces". An email sent to anything@{namespace}.mailisk.net lands in the namespace inbox.

    https://docs.mailisk.com/ ·

  2. 02

    Each namespace allows unlimited email addresses.

    https://docs.mailisk.com/ ·

  3. 03

    The inbox search response lists attachments with their id, filename, content type and size.

    https://docs.mailisk.com/ ·

  4. 04

    The documentation describes an SMS testing section, with endpoints to list numbers, search messages and simulate an SMS.

    https://docs.mailisk.com/ ·

  5. 05

    The free plan shows 500 received emails, 1 namespace and 1 day of email retention.

    https://mailisk.com/pricing ·

  6. 06

    The extra-volume rates start at $0.25 per 1,000 received emails per month, and at $0.05 per SMS per month.

    https://mailisk.com/pricing ·

  7. 07

    The FAQ says paid plans temporarily tolerate usage above the limit with no hard cap, and that Mailisk reaches out if it happens often.

    https://mailisk.com/pricing ·

  8. 08

    Mailisk's Node client installs with npm install --save-dev mailisk and is built with new MailiskClient({ apiKey }). Its searchInbox(namespace, { to_addr_prefix, subject_includes, ... }) method waits by default until at least one email arrives, five minutes at most.

    https://docs.mailisk.com/guides/nodejs.html ·

Translating your tests

The same test, with one then the other

Both APIs wait for the message on the server side, so the shape of the test does not change. What changes: the address targets the domain of the Facteur inbox, and the code arrives already extracted from the message.

Before, with Mailisk JavaScript
const { MailiskClient } = require('mailisk');
const mailisk = new MailiskClient({ apiKey: process.env.MAILISK_API_KEY });

// searchInbox waits by default until at least one email arrives.
const { data: emails } = await mailisk.searchInbox(namespace, {
  to_addr_prefix: address,
});

// The code is still to be found in the body of emails[0].
Every call of Mailisk shown here comes from its documentation: the Sources section gives the page and the date it was read.
After, with Facteur TypeScript
// No Facteur package to install: one HTTP call that waits.
const search = new URLSearchParams({
  inbox: 'j3k9x2mq',
  sentTo: address,
  wait: '30000',
});

const response = await fetch('https://api.facteur.eu/v1/messages?' + search, {
  headers: { authorization: 'Bearer ' + process.env.FACTEUR_API_KEY },
});
const { messages } = await response.json();

// The code is already extracted, in a field of its own.
const code = messages[0].otp;
Facteur publishes no library yet: the test calls the API over HTTP. The developers' portal plays this call against the service.
The migration, step by step

Four steps, both services side by side

  1. Step 01

    Create an account and an inbox

    Each inbox has its own domain. Any address ending with it is accepted from the first message: there is nothing else to set up.

  2. Step 02

    Point your sends at the inbox

    In your test scenarios, the recipient address now targets the domain of your Facteur inbox instead of the namespace's.

  3. Step 03

    Replace searchInbox with Facteur's search

    A single call waits for the message and returns it with its code in the otp field. The regular expression that looked for the code goes away.

  4. Step 04

    Run the suite, then cancel

    Keep both accounts until the suite is green. There is no data to export and no DNS to switch.

The switch, in short

What changes, row by row

Each cell about Mailisk links to the sentence of the sources it comes from. A row that no source lets us write is not in the table.

Topic Facteur Mailisk
Waiting for a message The search waits up to the delay you ask, five minutes at most, and answers as soon as the message arrives. searchInbox waits by default, five minutes at most. source
Addresses Any address of the inbox's domain lands in the inbox, with nothing to create. Any address of the namespace's domain lands in the namespace. source
Beyond the volume On paid plans, prepaid packs or pay-as-you-go overage, under a spending cap you set. Overage tolerated with no hard cap, then a call if it keeps happening. source
SMS SMS inboxes exist, but the connection to the carrier is not in service: no real SMS arrives today. An SMS testing section is documented. source
Facteur

What Facteur does

These lines describe Facteur as its product pages and help centre give it.

01

One address per test

Everything before the at sign is free. Two tests writing to inscription+run-42 and inscription+run-43 each get their own message, in the same inbox.

02

Wait for the message in one request

The search accepts a wait of five minutes at most. If nothing arrives, it answers an empty list, not an error.

03

The code, already extracted

The otp field holds the most likely one-time code. When nothing announces it, Facteur leaves it empty rather than guess.

04

Reading costs nothing

Only a received, kept message counts against your plan. A test that receives 3 emails and reads them 40 times uses 3.

05

Deleted when its time is up

Each message is deleted when your plan's duration has passed, with its raw file and attachments.

06

Hosted at OVHcloud

The application and its database are hosted at OVHcloud, and billing is in euros. The data centre is in France.

07

SMS are not received yet

The connection to the carrier that delivers SMS is not in service. An assigned number receives no real SMS today.

Choosing

Frequently asked questions

When to look at Mailisk?

Mailisk documents an SMS testing section with endpoints to search messages. At Facteur, the connection to the carrier is not in service. If your tests need SMS right now, check this before you choose.

How much work is the migration from Mailisk?

A few minutes per test file: the call to searchInbox becomes Facteur's search, and extracting the code becomes reading the otp field. There is nothing to export: test messages come back on the next run of your continuous integration.

What happens to the messages already received at Mailisk?

They stay at Mailisk. They are test messages: they come back on the next run of your suite, which is what keeps the migration light.

Where are Facteur's prices?

On the Pricing page, which reads Facteur's grid. No Facteur price is written here.

Try Facteur without an account

The trial receives a test email, with no sign-up. Prices are on the Pricing page.