update Updated January 2026 Free Tier

Mailjet SMTP Settings

Complete guide to configure Mailjet SMTP for sending transactional and marketing emails. Mailjet is a Sinch company offering powerful email delivery with analytics.

table_chart Quick Reference

Setting Value
SMTP Server in-v3.mailjet.com
Port (TLS) 587 Recommended
Port (SSL) 465
Alternative Port 25 (may be blocked)
Username Your Mailjet API Key
Password Your Mailjet Secret Key
Encryption TLS/SSL Required
Free Tier 200 emails/day, 6,000/month
info

Mailjet by Sinch

Mailjet is part of the Sinch family (along with Mailgun). It offers both transactional email and marketing campaigns with real-time analytics and A/B testing.

Step-by-Step Setup Guide

1

Create a Mailjet Account

Sign up for a free Mailjet account:

  1. Go to mailjet.com and click 'Sign Up'
  2. Enter your email and create a password
  3. Verify your email address
  4. Complete your account profile
2

Get Your API Credentials

Find your API keys in Mailjet dashboard:

  1. Log in to your Mailjet account
  2. Go to Account Settings โ†’ API Keys
  3. Copy your API Key (this is your SMTP username)
  4. Copy your Secret Key (this is your SMTP password)
warning

Keep your Secret Key secure. Never expose it in client-side code!

3

Verify Your Sender Domain

For better deliverability, verify your domain:

  1. Go to Sender Domains & Addresses
  2. Add your domain and verify ownership
  3. Set up SPF and DKIM records
  4. Wait for DNS propagation (can take up to 48 hours)
4

Configure Your Application

Use these settings in your email client or application:

  • Server: in-v3.mailjet.com
  • Port: 587 (TLS) or 465 (SSL)
  • Username: Your API Key
  • Password: Your Secret Key

Code Examples

import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart

# Mailjet SMTP settings
SMTP_HOST = "in-v3.mailjet.com"
SMTP_PORT = 587
API_KEY = "your-api-key"
SECRET_KEY = "your-secret-key"

# Create message
msg = MIMEMultipart()
msg['From'] = "sender@yourdomain.com"
msg['To'] = "recipient@example.com"
msg['Subject'] = "Test Email via Mailjet"

body = "This is a test email sent via Mailjet SMTP."
msg.attach(MIMEText(body, 'plain'))

# Send email
with smtplib.SMTP(SMTP_HOST, SMTP_PORT) as server:
    server.starttls()
    server.login(API_KEY, SECRET_KEY)
    server.send_message(msg)
    print("Email sent successfully!")

Mailjet Features

check_circle

Real-time Analytics

Track opens, clicks, bounces, and unsubscribes in real-time

check_circle

A/B Testing

Test different subject lines and content to optimize performance

check_circle

Template Builder

Drag-and-drop email builder with responsive templates

check_circle

GDPR Compliant

EU-based servers available, fully GDPR compliant

Troubleshooting

Authentication failed

Make sure you're using your API Key as username and Secret Key as password, not your Mailjet login credentials.

Emails going to spam

Verify your sender domain and set up SPF, DKIM, and DMARC records. Check your sender reputation in Mailjet dashboard.

Daily limit reached

Free accounts are limited to 200 emails/day. Upgrade to a paid plan for higher volumes.

Frequently Asked Questions

What's the difference between Mailjet and Mailgun?

Both are owned by Sinch. Mailjet focuses on both transactional and marketing email with a visual editor, while Mailgun is more developer-focused for transactional email.

Can I use Mailjet for marketing emails?

Yes, Mailjet supports both transactional and marketing emails. It includes contact management, segmentation, and campaign tools.

Does Mailjet support webhooks?

Yes, Mailjet provides webhooks for events like opens, clicks, bounces, spam reports, and unsubscribes.