Logs for every message
See whether an email was accepted, delivered or bounced, and why.
Send confirmations, password resets and notifications from your app. Configure the host once; we handle delivery, retries and bounces.
Get SMTP credentialsPOST https://api.mailtomany.com/v1/messagesAuthorization: Bearer mtm_live_…The SMTP server is coming soon. Until then you send through the HTTP API, with the same key from your account.
const res = await fetch('https://api.mailtomany.com/v1/messages', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.MTM_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
from: { email: '[email protected]', name: 'Magazinul tău' },
to: [{ email: client.email }],
subject: 'Comanda #1042 a fost confirmată',
html: templateComanda(comanda),
}),
});
// 202 { id, accepted, suppressed }Order confirmations, password resets, invoices: your app asks, we deliver.
See whether an email was accepted, delivered or bounced, and why.
Transactional mail goes out on a different stream from campaigns, so an order confirmation never waits behind a newsletter.
If the recipient server defers a message, we retry with growing pauses.
Invalid addresses found over SMTP are blocked in campaigns too, and vice versa.