Your Disposable Email
7-day validity • Privacy-focused • No registration
Messages
No emails yet
Waiting for incoming mail...
Select an email to view
For Developers
Use MailBin for testing email delivery from your applications. Simply send emails directly to your @mailbin.app address - no authentication required! Perfect for development and testing.
SMTP Credentials
mailbin.app
2525
Code Examples
import smtplib
from email.mime.text import MIMEText
# Your inbox email from MailBin
inbox_email = "your.inbox.id@mailbin.app"
# Connect to SMTP server
server = smtplib.SMTP('mailbin.app', 2525)
# Create message
msg = MIMEText('This will appear in your MailBin inbox!')
msg['Subject'] = 'Test Email'
msg['From'] = 'noreply@yourapp.com'
msg['To'] = inbox_email # Send directly to your @mailbin.app address
# Send the email - no authentication needed!
server.send_message(msg)
server.quit()
const nodemailer = require('nodemailer');
// Your inbox email from MailBin
const inboxEmail = 'your.inbox.id@mailbin.app';
const transporter = nodemailer.createTransporter({
host: 'mailbin.app',
port: 2525,
secure: false,
auth: false // No authentication needed
});
// Send directly to your @mailbin.app address
transporter.sendMail({
from: 'app@company.com',
to: inboxEmail,
subject: 'Test Email',
text: 'This will appear in your MailBin inbox!'
}, (error, info) => {
if (error) {
console.log(error);
} else {
console.log('Email sent: ' + info.response);
}
});
package main
import (
"fmt"
"net/smtp"
)
func main() {
// Your inbox email from MailBin
inboxEmail := "your.inbox.id@mailbin.app"
// Send email - no authentication needed!
from := "noreply@yourapp.com"
to := []string{inboxEmail} // Send directly to your @mailbin.app address
msg := []byte("Subject: Test Email\r\n" +
"\r\n" +
"This will appear in your MailBin inbox!\r\n")
err := smtp.SendMail("mailbin.app:2525", nil, from, to, msg)
if err != nil {
panic(err)
}
fmt.Println("Email sent successfully!")
}
require 'net/smtp'
# Your inbox email from MailBin
inbox_email = 'your.inbox.id@mailbin.app'
# Create message
message = <<~MESSAGE
From: noreply@yourapp.com
To: #{inbox_email}
Subject: Test Email
This will appear in your MailBin inbox!
MESSAGE
# Send directly to your @mailbin.app address - no authentication needed!
Net::SMTP.start('mailbin.app', 2525) do |smtp|
smtp.send_message(
message,
'noreply@yourapp.com',
inbox_email
)
end
puts 'Email sent successfully!'
<?php
require 'vendor/autoload.php';
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
// Your inbox email from MailBin
$inboxEmail = 'your.inbox.id@mailbin.app';
$mail = new PHPMailer(true);
try {
// Server settings
$mail->isSMTP();
$mail->Host = 'mailbin.app';
$mail->SMTPAuth = false; // No authentication needed
$mail->Port = 2525;
// Recipients
$mail->setFrom('noreply@yourapp.com');
$mail->addAddress($inboxEmail); // Send directly to your @mailbin.app address
// Content
$mail->Subject = 'Test Email';
$mail->Body = 'This will appear in your MailBin inbox!';
$mail->send();
echo 'Email sent successfully!';
} catch (Exception $e) {
echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
}
?>
import javax.mail.*;
import javax.mail.internet.*;
import java.util.Properties;
public class MailBinExample {
public static void main(String[] args) {
// Your inbox email from MailBin
String inboxEmail = "your.inbox.id@mailbin.app";
Properties props = new Properties();
props.put("mail.smtp.host", "mailbin.app");
props.put("mail.smtp.port", "2525");
props.put("mail.smtp.auth", "false"); // No authentication needed
Session session = Session.getInstance(props);
try {
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress("noreply@yourapp.com"));
message.setRecipients(
Message.RecipientType.TO,
InternetAddress.parse(inboxEmail) // Send directly to your @mailbin.app address
);
message.setSubject("Test Email");
message.setText("This will appear in your MailBin inbox!");
Transport.send(message);
System.out.println("Email sent successfully!");
} catch (MessagingException e) {
throw new RuntimeException(e);
}
}
}
using System;
using System.Net.Mail;
class MailBinExample
{
static void Main()
{
// Your inbox email from MailBin
string inboxEmail = "your.inbox.id@mailbin.app";
var client = new SmtpClient("mailbin.app", 2525)
{
EnableSsl = false
// No credentials needed
};
var message = new MailMessage
{
From = new MailAddress("noreply@yourapp.com"),
Subject = "Test Email",
Body = "This will appear in your MailBin inbox!"
};
// Send directly to your @mailbin.app address
message.To.Add(inboxEmail);
try
{
client.Send(message);
Console.WriteLine("Email sent successfully!");
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
}
}
}
About MailBin
MailBin is a privacy-focused disposable email service. Generate temporary email addresses for testing, signups, and protecting your privacy.
Private & Secure
No data collection or tracking. Your emails are only visible to you.
Stored Locally
All emails are stored in your browser's local storage. No server-side database.
Valid 7 Days
Email addresses remain active for 7 days. Perfect for testing and signups.
Spam-Free
Fresh addresses mean no spam. Generate a new address anytime.
Real-time Updates
Receive emails instantly in your inbox.
Unlimited Addresses
Create as many disposable email addresses as you need. No limits.
Frequently Asked Questions
How do I get started?
Your inbox is automatically generated. Click "New Address" to create additional addresses.
How long do addresses last?
Each address is valid for 7 days from creation, then expires automatically.
Are my emails stored on a server?
No. All emails are stored only in your browser (localStorage). Clear your browser data to remove them.
Can I use this for signups?
Yes! Use MailBin for testing, registrations, or any situation needing a throwaway email.
Can I send emails?
MailBin acts as an SMTP mail trap for development testing. See the "For Developers" tab for details.
Can I access my inbox on multiple devices?
Yes! Click the QR code button next to your email address to generate a secure transfer link (valid for 5 minutes). Scan it with another device to access the same inbox. New emails will appear on all devices in real-time, but existing emails won't transfer since they're stored locally in each browser.