Overview
Nuntly provides an SMTP server that allows you to send emails using standard SMTP clients and libraries. This is perfect if you want to integrate email sending into existing applications or use tools that support SMTP.SMTP Configuration
Use these settings to configure your SMTP client:| Setting | Value |
|---|---|
| Host | smtp.nuntly.com |
| Port | 587 |
| Username | nuntly |
| Password | Your Nuntly API Key (starts with ntly_) |
You need a valid API key to authenticate with the SMTP server. You can create one in the API Keys section of your
dashboard. The
from address must belong to a verified domain in your account.Understanding SMTP Ports
Nuntly SMTP server uses port 587 with STARTTLS encryption. Here’s what you need to know about SMTP ports:| Port | Security | Description | Nuntly Support |
|---|---|---|---|
| 25 | None | Standard SMTP port, often blocked by ISPs | ❌ Not supported |
| 465 | SSL/TLS | SMTP over implicit SSL | ❌ Not supported |
| 587 | STARTTLS | Modern SMTP submission with opportunistic encryption | ✅ Recommended |
| 2525 | STARTTLS | Alternative submission port (for restrictive networks) | ❌ Not supported |
Code Examples
Each example below configures an SMTP client with your Nuntly credentials, composes a message with both plain text and HTML parts, and sends it through the Nuntly SMTP server. Simply replacently_your_api_key_here with your actual API key.
Shell (Swaks)
Swaks (Swiss Army Knife for SMTP) is a powerful command-line tool for testing SMTP servers. The examples below cover sending a plain text email, an HTML email, and a verbose connection test, all from the terminal. Install SwaksTroubleshooting
Authentication Failed
Make sure you’re using:- Username: exactly
nuntly(lowercase) - Password: Your valid API key (starts with
ntly_)
Connection Timeout
Verify that:- Port 587 is not blocked by your firewall
- You’re using STARTTLS (not SSL/TLS)
- The SMTP server hostname is correct:
smtp.nuntly.com
Email Size Exceeded
If you receive a “552 Email size exceeds limit” error:- Reduce your email size
- Upload large files to a blob storage (e.g. AWS S3, Google Cloud Storage, Azure Blob) and include a download link in the email body instead of attaching them
Learn more
Handle webhook events
Receive and process delivery, bounce, and open events in your app
API Reference
Explore the REST API for advanced features
