Mail Settings — SMTP Configuration
39. Mail Settings — SMTP Configuration
Reading Time: 5 min
Goal: Set up SMTP so your store can send emails (order confirmations, invoices, etc.)
Video Tutorial
Watch this step-by-step video tutorial:
Step 1: Navigate to Mail Settings
Left sidebar → Settings 🔽 → Mail Settings
Step 2: Add a Mail Configuration
Click "Add Configuration" :
| Field | Explanation | Example |
|---|---|---|
| Mailer | Mail driver | SMTP |
| Host | SMTP server hostname | smtp.gmail.com |
| Port | SMTP port | 587 (TLS) or 465 (SSL) |
| Username | Email address | store@mystore.com |
| Password | Email password or app password | ****** |
| Encryption | SSL / TLS | TLS |
| From Name | Name shown when sending emails | "My Fashion Store" |
| From Email | Email ID shown when sending | store@mystore.com |
Common SMTP Settings:
| Provider | Host | Port | Encryption |
|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | TLS |
| Outlook | smtp.office365.com | 587 | TLS |
| Zoho | smtp.zoho.com | 465 | SSL |
| Custom | Your SMTP host | 587/465 | TLS/SSL |
Gmail Users: Your regular password won't work. Use an App Password. Go to Google Account → Security → App Passwords.
Step 3: Multiple Configurations
You can add multiple mail configurations:
- Active — The active one is used to send all emails
- Toggle — Activate/deactivate any configuration
Step 4: Send a Test Email
After saving, send a test email to verify everything is working.
Pro Tip: Always test before activating. If your SMTP is misconfigured, customers won't receive order confirmation emails.
Common Issues
| Problem | Solution |
|---|---|
| Emails not sending | Check SMTP credentials |
| "Connection refused" | Check host/port, check firewall |
| "Authentication failed" | Check username/password |
| Emails going to spam | Set up SPF/DKIM records |