Universal SMTP Relay Infrastructure

High-Deliverability SMTP Relay for Any Application

Plug enterprise email delivery into WordPress, Laravel, Postfix, Nodemailer, or any existing system in minutes. Standard TLS ports 587 and 465 with API-key authentication.

Universal Connection SettingsCluster Operational
SMTP Host
smtp.mailofly.com
Recommended Port
587 (STARTTLS)
Alternative Port
465 (SSL/TLS)
Username: apikey  | Password: mf_live_YOUR_API_KEY
Generate credentials →

Configure your stack in seconds

Copy the snippet directly into your configuration file.

wp-config.php
// Configure WordPress to send through Mailofly SMTP Relay
define( 'SMTP_HOST', 'smtp.mailofly.com' );
define( 'SMTP_PORT', 587 );
define( 'SMTP_SECURE', 'tls' );
define( 'SMTP_AUTH', true );
define( 'SMTP_USER', 'apikey' );
define( 'SMTP_PASS', 'mf_live_YOUR_API_KEY' );
define( 'SMTP_FROM', 'orders@yourdomain.com' );
define( 'SMTP_NAME', 'Your Store Name' );
Enterprise Reliability

Why Developers Choose Mailofly SMTP

Skip server blocklists, port 25 bans, and complex Postfix configurations. We handle sender authentication and delivery.

Verified Sending Domains

Publish the DNS records provided by Mailofly and verify your sending domain before sending.

Delivery Logs

Review message status and recorded send errors from the dashboard.

Queued Processing

Mailofly queues accepted SMTP submissions for processing. Plan quotas and sending-provider limits still apply.

Encrypted SMTP Connections

Use STARTTLS or implicit TLS with the supported SMTP endpoint.

SMTP-Compatible Applications

Configure your framework, CMS, or other SMTP-compatible application with the Mailofly SMTP endpoint.

Unified SMTP & API Dashboard

Emails sent via SMTP share the exact same deliverability radar, open/click analytics, suppression lists, and webhooks as emails sent through our REST API.

Architecture Guide

SMTP Relay vs. REST Email API

Choose the best delivery method for your stack—or use both simultaneously.

CriteriaSMTP RelayREST Email API
Best Use CaseWordPress, WooCommerce, CMS, Postfix, legacy softwareNext.js, Node.js, serverless functions, mobile apps
Setup ComplexityZero code: enter host, port, user, and passwordInstall SDK or make HTTP POST request
Latency & OverheadSMTP connection requiredJSON requests over HTTP
Advanced FeaturesCustom headers, MIME bodies, standard attachmentsDynamic template variables, tags, webhook signatures
Log TrackingConfigured plan retentionConfigured plan retention
Common Questions

Frequently Asked Questions about our SMTP Relay

An SMTP relay service is an intermediary mail server that receives emails from your website, CRM, or application and securely forwards them to the recipient's mail provider (like Gmail, Outlook, or Apple Mail). By using Mailofly's SMTP relay, you avoid managing complex mail servers, maintenance, reputation warming, and ISP blacklists.

Get Your Free SMTP Credentials in 30 Seconds

Start with 3,000 free emails every month. Verify your domain and connect any app via port 587 or 465.