Send email from code and tests
Compose, schedule, and verify email with MailSlurp APIs, SDKs, or SMTP, using real inboxes that keep each workflow observable.
Sending the request is only half the job. A dependable email workflow also needs the right sender, recipients, content, attachments, and a way to confirm what arrived. MailSlurp keeps those steps connected through inbox APIs, SDKs, SMTP, and message history.
Use the guides below to send HTML or plain-text email, add files, schedule delivery, work with queues, and diagnose sending limits. In automated tests, create a recipient inbox for each run and wait for the exact message instead of adding a fixed sleep; failures become much easier to explain.
Posts
What Does Queued Mean in Email? SMTP Queue States and Fixes
Understand queued meaning in email, why Gmail or SMTP messages get queued, and how to fix delayed delivery with MailSlurp testing.
Read moretechnicalSend Transactional Emails in Code or End-to-End Tests.
How to send emails using the Dashboard, API, or SDK clients. Free SMTP mailservers and email accounts to send transactional mail.
Read moretechnicalSend Emails Programmatically in API Workflows and Tests
Learn how to send email from code using MailSlurp. Cover recipients, HTML, attachments, templates, queues, scheduling, verification, and bounce-safe delivery.
Read moretechnicalSend and receive emails and attachments using MailSlurp
Use inbound and outbound email in code, mail-clients, or online dashboard. Add attachments, configure webhooks and gain SMTP access.
Read moretechnicalSchedule email sending for recurring mail
How to send emails at a specific time or delay sending with email scheduling tools. Plan your mail campaigns and custom sending times.
Read moretechnicalMailSlurp Send Limits
How to manage sending limits and prevent spam warnings. Maintain a healthy sender reputation and improve delivery.
Read moretechnicalSend attachments with an Email API - it's easy and convenient.
Streamline Email and Attachment Sending with MailSlurp API - Say goodbye to cumbersome MIME encoding and SMTP restrictions with MailSlurp today.
Read more