Home
Credentials Generator
Generate credentials My generated credentials
QA Analytics
Analytics workspace Tracking integrations Analytics reports User Journey Explorer Conversion funnels Analytics debugger
More
Documentation Pricing Contact Us
LoginCreate free account
Docs › QA Credentials

Temporary email provider configuration

Which provider is integrated?

QA Random ships with two provider adapters behind a common interface (lib/TempMail/ProviderInterface.php), so providers can be swapped without changing the rest of the site:

ProviderAccount / API keyBest for
Mail.tm (default)None. Mailboxes are created automatically through the public API at https://api.mail.tm.Getting started, low volumes
Own domain catch-all (IMAP)A domain/sub-domain you own with a catch-all mailbox (e.g. Hostinger Business Email) and the PHP imap extension.Production, paid plans, apps that block disposable domains

Mail.tm terms and limits (checked November 2026)

  • Rate limit: 8 requests per second per IP address. QA Random throttles itself to 6/second and inbox polling to 12 requests per minute per inbox.
  • Attribution: a visible link to mail.tm is required — QA Random shows "Temporary inboxes powered by Mail.tm" in the footer.
  • Mail.tm does not allow reselling a paid product that only wraps its API, or running a proxy/mirror of it. QA Random adds substantial functionality, but if you sell paid plans with inbox quotas you should contact Mail.tm or switch paid customers to the IMAP provider.
  • Public temporary email is not guaranteed: domains rotate, mail may be deleted and the service can be unavailable. It is not suitable for anything confidential.

Where configuration is stored

  • Provider selection, inbox lifetime and refresh interval: Admin › Settings (stored in the system_settings table).
  • Provider credentials: config/config.php → temp_email section. This file is blocked from web access.
  • Per-mailbox passwords/tokens: encrypted (AES-256-GCM) in the temporary_email_accounts table using app.key.

How to test email generation

  1. Open Admin › Provider integrations and click Test connection — it lists the active domains.
  2. Generate 10 credentials. Email addresses use one of those domains.
  3. Click Receive Email on a profile. Status changes to Active.

How to test receiving messages

  1. From any personal mailbox, send an email to the address shown at the top of the inbox.
  2. Within about 15 seconds the message appears in the list. Open it to check HTML rendering.

Setting up the IMAP provider

  1. In Hostinger hPanel create (or use) an email domain such as test.yourdomain.com and a mailbox, and enable catch-all so every address on that domain is delivered to it.
  2. In hPanel › Advanced › PHP Configuration › Extensions enable imap.
  3. In config/config.php set temp_email.imap.enabled to true and fill in domain, mailbox (e.g. {imap.hostinger.com:993/imap/ssl}INBOX), username and password.
  4. In Admin › Settings choose Own domain catch-all via IMAP as the provider and run the connection test.

Troubleshooting provider failures

  • Connection test fails → check that your server can make outgoing HTTPS requests (Hostinger allows this) and that the provider is online.
  • HTTP 429 → too many requests; wait and retry. Reduce the auto-refresh frequency in Admin › Settings.
  • HTTP 401 → token expired; QA Random re-authenticates automatically. If it persists the provider may have deleted the mailbox — the user can reactivate it.
  • Errors are recorded in temporary_email_accounts.last_error and in storage/logs/php-error.log.