Test an email without an account
Facteur lends you a disposable address. Send an email to it from your application or your mail client, and it shows up on this page as soon as it arrives.
No account · no card · nothing to install
How it works
- Click "Get a test address", then copy the address shown. The name before the @ is free, replace "test" with anything you like.
- Send an email to it from your application or your mail client.
- The message appears here, without reloading the page.
The address stays valid for one hour and receives ten messages at most. If you ask for a new one, the previous one stops working.
Getting an address means you accept the terms of use and the limits they set on the trial.
This address is not confidential: anyone can write to it, and whoever uses this browser during the hour reads what arrives. Never have a password reset link or a code for a real account sent here.
Messages received
What the trial does, and what it does not
The trial shows the product, it does not replace it. Its limits are written here before you run into them.
| Trial, no account | Free account | |
|---|---|---|
| How long the address lives | 60 minutes, then it stops receiving | as long as you keep the inbox |
| Messages received | 10, then the address refuses the next ones | 500 operations included a month |
| Addresses | one at a time: asking for a new one ends the previous one | anything before the @, on the domain of your inbox |
| Reading | on this page | over the API and in the application |
| Attachments | listed by name, never downloadable | downloadable, up to 5 MB each |
| How long messages are kept | one day, then deleted | 3 days, then deleted |
| Stability | may change without notice | the public API, described on the developer portal |
The trial has no interface meant for a program: no message listing, no raw file, no webhook. A test suite needs an account, and the Free plan is one.
A trial address is not confidential
The trial has no account, so no password and no second factor. Anyone can write to the address, and the mailbox opens with a token kept by the tab of your browser: whoever uses that browser during the hour reads what arrives. The terms of use say so in the same words.
- Never a password reset link, never a code that opens a real account.
- Never an identity document, an invoice, a payslip.
- Never personal data about anybody but you.
The same message, read by your code
What this page displays, a test reads over the API. No fixed pause: the test searches every second and reads the message as soon as it lands, with its code already extracted.
// FACTEUR_API: the address of the API. FACTEUR_KEY: an API key (fk_...).
// FACTEUR_INBOX and FACTEUR_DOMAIN: the identifier and the domain of your inbox.
const address = 'signup+42@' + process.env.FACTEUR_DOMAIN;
const since = new Date(); // only a message that arrives after it counts
await page.getByLabel('Email').fill(address);
await page.getByRole('button', { name: 'Sign up' }).click();
// Searches every second until the message lands, 30 seconds at most.
const query = new URLSearchParams({
inbox: process.env.FACTEUR_INBOX,
sentTo: address,
since: since.toISOString(),
});
let message;
for (let attempt = 0; attempt < 30 && !message; attempt++) {
const response = await fetch(process.env.FACTEUR_API + '/messages?' + query, {
headers: { Authorization: 'Bearer ' + process.env.FACTEUR_KEY },
});
[message] = (await response.json()).messages ?? [];
if (!message) await new Promise((resolve) => setTimeout(resolve, 1000));
}
// The verification code and the links are already extracted from the message.
expect(message.otp).toBe('265279');
await page.goto(message.links[0]);
One inbox, as many addresses as tests
Nothing to create before a test: every address on the domain of the inbox receives, including the one a test invents as it uses it.
The message read as soon as it lands
The test searches every second, and Facteur almost always parses an email in under a second. Your suite loses its fixed pauses, and the random failures that come with them.
The code and the links are already extracted
The verification code and the links come out of the message before you read it: your test compares a value instead of writing a regular expression.
What people ask us
Do I need an account to try?
No. Nothing is asked of you: no email address, no card. The address you get receives for 60 minutes and accepts ten messages at most.
Can I use it in my automated tests?
No, and that is deliberate: the trial has no interface meant for a program, only one address is active at a time, and how it works may change without notice. For a test suite, the Free plan gives you the API, 500 operations a month and addresses that last.
What happens to the mail that arrives?
The address stops receiving after 60 minutes. Its messages are deleted one day later. Attachments are listed by name, type and size, and cannot be downloaded.
Why a puzzle in my browser rather than a captcha?
A third-party captcha would be one more sub-processor handling your data. Instead, your browser does a calculation that usually takes under a second: it costs a robot that wants a thousand addresses plenty, and asks nothing of you.
Is the address private?
No. With no account, only a token kept by your browser protects it: anyone can write to it, and whoever uses that browser reads what arrives. Never have a reset link, a code for a real account, or anything you would not publish sent there.
And for your real tests?
The Free plan gives you an inbox where every address receives, 500 operations a month and the API. No card required.