Custom Headers
You can attach arbitrary custom headers to outbound messages for internal routing, CRM correlation, or RFC compliant message threading.Example Usage
X-* and standard email threading headers.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Inject custom RFC-compliant headers and metadata for routing or message tracking.
await mailofly.emails.send({
from: "support@yourdomain.com",
to: ["customer@example.com"],
subject: "Ticket #4082 Update",
html: "<p>We have updated your support ticket.</p>",
headers: {
"X-Entity-Ref-ID": "ticket_4082",
"In-Reply-To": "<msg_original_id@yourdomain.com>",
"References": "<msg_original_id@yourdomain.com>"
}
});
X-* and standard email threading headers.