Integrating with Web Applications
Integrating mySMTP with Web Applications
mySMTP is a powerful SMTP relay service that enhances email deliverability for web applications and e-commerce platforms. This guide will walk you through integrating mySMTP with popular platforms, including WordPress, Magento, WooCommerce, PrestaShop, Joomla, Drupal and others.
Prerequisites
Before integration, ensure you have:
- A mySMTP account with SMTP credentials (host, username, password, and port).
- Access to your website’s admin panel or server.
1. WordPress
Using WP Mail SMTP Plugin
- Install WP Mail SMTP from the WordPress Plugin Directory.
- Navigate to WP Mail SMTP → Settings.
- Under Mailer, select Other SMTP.
- Enter your mySMTP credentials:
- SMTP Host: mysmtp.com
- Encryption: TLS (or SSL if required)
- Port: 587 (or 465 for SSL)
- Your mySMTP Username & Password
- Save changes and test email delivery.
2. Magento
Configure SMTP in Magento Admin
- Install the MagePal SMTP extension (if needed).
- Navigate to Stores → Configuration → Advanced → System.
- Expand Mail Sending Settings and update:
- Host: mysmtp.com
- Port: 587
- Authentication: Login
- your mySMTP Username & Password
- Save settings and send a test email.
3. WooCommerce
- Follow the WordPress WP Mail SMTP guide (above).
- Ensure WooCommerce email settings point to the correct sender email.
4. PrestaShop
- Navigate to Advanced Parameters → Email.
- Select Set My Own SMTP Parameters.
- Enter mySMTP credentials and save.
5. Drupal
- Install the SMTP Authentication Support module.
- Configure SMTP settings with mySMTP details under Configuration → SMTP Authentication.
6. Joomla
- Go to System → Global Configuration → Server.
- Set Mailer to SMTP and enter mySMTP details.
7. OpenCart
- Navigate to Settings → Mail.
- Set Mail Engine to SMTP and enter mySMTP details.
8. Laravel (PHP Applications)
- Update your .env file:
MAIL_MAILER=smtp
MAIL_HOST=smtp.mysmtp.com
MAIL_PORT=587
MAIL_USERNAME=your_username
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=tls
- Clear cache and restart the server.
9. Symfony
- Update your .env file:
MAILER_DSN=smtp://your_username:
- Test with bin/console swiftmailer:email:send.
10. Django (Python Applications)
- Update settings.py:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'mysmtp.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'your_username'
EMAIL_HOST_PASSWORD = 'your_password'
- Restart the application.
11. ASP.NET Core
- Add SMTP settings in appsettings.json:
{
"SmtpSettings": {
"Server": "mysmtp.com",
"Port": 587,
"Username": "your_username",
"Password": "your_password",
"UseSSL": false,
"UseStartTls": true
}
}
- Inject SMTP settings in your mail service.
12. Ghost (Node.js)
- Update config.production.json:
"mail": {
"transport": "SMTP",
"options": {
"service": "SMTP",
"host": "smtp.mysmtp.com",
"port": 587,
"auth": {
"user": "your_username",
"pass": "your_password"
}
}
}
- Restart Ghost.
Conclusion
Integrating mySMTP ensures reliable email delivery across web platforms. If you encounter issues, check firewall settings, test with different ports (25, 587), and enable SMTP logs for debugging.
Connect Instantly.ai to mySMTP
📨 How to Connect Instantly with mySMTP Server
This step-by-step guide will help you integrate your mySMTP account with Instantly to start sending cold emails using your dedicated SMTP setup.
✅ Requirements
Before you begin, make sure you have:
- An active mySMTP account with a dedicated IP server
- Your SMTP credentials:
- SMTP host (e.g., relayxx.mysmtp.com)
- Username
- Password
- Port: 587
- Encryption: TLS
🔧 Step-by-Step Setup in Instantly
1. Login to Instantly
Go to https://app.instantly.ai and sign in to your account.
2. Go to ‘Email Accounts’
- In the left menu, click on “Email Accounts”
- Click the “+ Add Email Account” button
3. Choose ‘Custom SMTP’
- In the provider list, scroll down and select “Other SMTP” or “Custom SMTP”
4. Enter SMTP Details from mySMTP
Field | Value |
---|---|
SMTP Username | your mySMTP username |
SMTP Password | your mySMTP password |
SMTP Host | e.g., relayxx.mysmtp.com (from your setup email) |
SMTP Port | 587 |
Encryption | TLS |
From Name | Your Name or Brand |
From Email |
💡 Tip: The “From Email” should be from a domain that is properly authenticated with SPF, DKIM, and DMARC. You can manage this in your DNS panel using the instructions from your mySMTP dashboard.
5. Send Test Email
- Click “Send Test” to ensure the SMTP connection is successful.
- If successful, you’ll see a green confirmation.
6. Save the Account
- Click “Save & Continue”
- The SMTP account is now ready to be used for campaigns inside Instantly.
🔄 DNS Configuration Reminder
To maximize deliverability, make sure your sending domain has the following TXT records:
SPF
v=spf1 include:dedicated.mysmtp.com ~all
DKIM
Setup DKIM via the dashboard.mysmtp.com
DMARC
To setup basic DMARC record you can use this free wizard: https://dmarcian.com/dmarc-record-wizard/
🧪 Warm-up Tips (Optional but Recommended)
Before launching campaigns, consider warming up the mailbox:
- Start with 10-20 emails/day
- Gradually increase sending volume
- Mix in replies and engagement
You can also use Instantly’s warm-up automation if available.