Skip to main content

Mailofly CLI

The Mailofly CLI allows developers to send emails, manage sending domains, inspect delivery logs, and test webhooks directly from the terminal.

Installation

Run Mailofly on-demand using npx or install it globally via npm:

Authentication

Log in with your Mailofly API key or browser session:
Alternatively, export your API key in your terminal environment:

Key Commands

Send a Test Email

Send an email in seconds directly from the CLI:

Domain Management

List all configured domains and check their DNS verification status:

View Live Delivery Logs

Stream or filter delivery events in real time:

Webhook Forwarding

Tunnel webhook delivery events to your local development server:

CLI Options

Related topics

CLIUnsubscribe Link