mail.tm

mail.tm

Email

Temporary Email Service

Visit API

πŸ“š Documentation & Examples

Everything you need to integrate with mail.tm

πŸš€ Quick Start Examples

mail.tm Javascript Examplejavascript
// mail.tm API Example
const response = await fetch('https://docs.mail.tm', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

The Temporary Email Service API offers a straightforward solution for users seeking to maintain privacy and protect their inboxes from spam. With the rise of online registrations and subscriptions, this API allows developers to generate temporary email addresses for one-time use, ensuring that personal email accounts remain secure. By leveraging this service, users can receive verification emails and important notifications without exposing their primary inbox, making it an essential tool for enhancing online privacy and security.

Utilizing the Temporary Email Service API has numerous advantages. Here are five benefits:

  • Enhanced Privacy: Safeguard personal email addresses from spam and unwanted communications.
  • Ease of Use: Generate temporary email addresses in a few simple steps.
  • Automatic Email Retrieval: Access received emails directly through the API without manual checks.
  • Short-lived Addresses: Temporary emails automatically expire after use, reducing clutter.
  • Integration Ready: Seamlessly incorporate the service into applications and websites with simple API calls.

Here’s a JavaScript code example to call the Temporary Email Service API:

async function createTemporaryEmail() {
    const response = await fetch('https://api.mail.tm/accounts', {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json',
        },
        body: JSON.stringify({
            address: 'temp-email@example.com',  // Replace with desired email prefix
            password: 'securepassword123'      // Replace with a secure password
        }),
    });
    
    if (response.ok) {
        const data = await response.json();
        console.log('Temporary Email Created:', data);
    } else {
        console.error('Error creating temporary email:', response.statusText);
    }
}

createTemporaryEmail();
πŸ”’

Security Assessment

F
πŸ”’HTTPS
Enabled
SSL Grade: T
πŸ›‘οΈHeaders
50/100
HSTS
πŸ•’Last Assessed
2 weeks ago
ℹ️Click for detailed analysis

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jun 15Jun 17Jun 19Jun 21Jun 23Jun 25Jun 27Jun 29Jul 1Jul 3Jul 5Jul 7Jul 9Jul 11Jul 1404008001440Minutes
Online
Offline

Related APIs in Email