Guides

Deliverability fundamentals

Build the habits and launch checks that keep transactional mail out of spam folders.

Transactional Email Best Practices

Authentication, suppression, content quality, and monitoring habits that protect inbox placement and sender reputation.

Read guide

Email Deliverability Checklist

Launch and operations checklist for DNS, list hygiene, webhooks, and monitoring alerts before you go live.

Read guide

Language quickstarts

Copy-ready examples for the stack you already use.

Sending Email with Laravel

Config, HTTP client integration, and production patterns for queued sends from Laravel apps and jobs.

Read guide

Sending Email with PHP

Framework-agnostic cURL example with error handling guidance for any PHP application or script.

Read guide

Sending Email with Node.js

Install @mailsurge/node and send from Node.js 18+ with typed errors and background worker patterns.

Read guide

Sending Email with Python

Install the official mailsurge package and send from scripts, workers, or web apps with httpx.

Read guide

Sending Email with Ruby

Net::HTTP example for Rails services and standalone Ruby scripts with production-ready error handling.

Read guide

Need endpoint details?

Pair these guides with the API reference for field formats, error codes, and attachment limits.