Quick Start Guide
Get up and running with CloudMails SMTP in 5 minutes
Step 1: Get Your Credentials
After signing up, you'll receive:
- SMTP Host: smtp.cloudmails.eu
- Port: 587 (TLS) or 465 (SSL)
- Username: Your API key from dashboard
- Password: Your secret key
Find Your Credentials
Log into your CloudMails dashboard at cloudmails.eu/dashboard. Your SMTP credentials are under Settings → API Keys.
Step 2: Configure Your Application
PHP Example
$transport = (new Swift_SmtpTransport('smtp.cloudmails.eu', 587))
->setUsername('your_api_key')
->setPassword('your_secret_key')
->setEncryption('tls');
$mailer = new Swift_Mailer($transport);
$message = (new Swift_Message('Test Email'))
->setFrom(['noreply@yourdomain.com' => 'Your Name'])
->setTo(['recipient@example.com'])
->setBody('Hello, this is a test email!');
$result = $mailer->send($message);
Python Example
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
msg = MIMEMultipart()
msg['From'] = 'noreply@yourdomain.com'
msg['To'] = 'recipient@example.com'
msg['Subject'] = 'Test Email'
msg.attach(MIMEText('Hello, this is a test!', 'plain'))
with smtplib.SMTP('smtp.cloudmails.eu', 587) as server:
server.starttls()
server.login('your_api_key', 'your_secret_key')
server.send_message(msg)
Node.js Example
const nodemailer = require('nodemailer');
const transporter = nodemailer.createTransport({
host: 'smtp.cloudmails.eu',
port: 587,
secure: false,
auth: {
user: 'your_api_key',
pass: 'your_secret_key'
}
});
await transporter.sendMail({
from: 'noreply@yourdomain.com',
to: 'recipient@example.com',
subject: 'Test Email',
text: 'Hello, this is a test!'
});
Step 3: Verify Authentication
Before sending at volume, verify your DNS authentication is working:
# Check SPF record
nslookup -type=TXT yourdomain.com
# Should return something like:
# v=spf1 include:_spf.cloudmails.eu ~all
# Check DKIM
nslookup -type=TXT cloudmails._domainkey.yourdomain.com
# Check DMARC
nslookup -type=TXT _dmarc.yourdomain.com
✓ All Records Verified
If all three DNS records are present and correct, your authentication is configured properly. You can now send emails.
Step 4: Send Your First Email
⚠️ Start Small
New IPs need warmup. Start by sending to a few addresses you control. Check that emails arrive in inbox (not spam). Then gradually increase volume.
# Test with swaks (Swiss Army Knife for SMTP)
swaks --to test@gmail.com \
--from noreply@yourdomain.com \
--server smtp.cloudmails.eu:587 \
--auth-user your_api_key \
--auth-password your_secret_key
Check your inbox at test@gmail.com. If the email arrives in inbox, you're ready to send at scale.
Next Steps
- Review IP Warmup Guide - Learn how to warmup new IPs at /ip-warmup.php
- Set Up Rotation - Configure SMTP rotation at /smtp-rotation.php
- API Documentation - Full REST API reference at /smtp-api.php
- Monitor Deliverability - Track metrics at /email-deliverability.php