Skip to main content
Loading...

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

  1. Install WP Mail SMTP from the WordPress Plugin Directory.
  2. Navigate to WP Mail SMTP → Settings.
  3. Under Mailer, select Other SMTP.
  4. Enter your mySMTP credentials:
    • SMTP Host: mysmtp.com
    • Encryption: TLS (or SSL if required)
    • Port: 587 (or 465 for SSL)
    • Your mySMTP Username & Password
  5. Save changes and test email delivery.

2. Magento

Configure SMTP in Magento Admin

  1. Install the MagePal SMTP extension (if needed).
  2. Navigate to Stores → Configuration → Advanced → System.
  3. Expand Mail Sending Settings and update:
    • Host: mysmtp.com
    • Port: 587
    • Authentication: Login
    • your mySMTP Username & Password
  4. 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

  1. Navigate to Advanced Parameters → Email.
  2. Select Set My Own SMTP Parameters.
  3. Enter mySMTP credentials and save.

5. Drupal

  1. Install the SMTP Authentication Support module.
  2. Configure SMTP settings with mySMTP details under Configuration → SMTP Authentication.

6. Joomla

  1. Go to System → Global Configuration → Server.
  2. Set Mailer to SMTP and enter mySMTP details.

7. OpenCart

  1. Navigate to Settings → Mail.
  2. Set Mail Engine to SMTP and enter mySMTP details.

8. Laravel (PHP Applications)

  1. 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

  1. Clear cache and restart the server.

9. Symfony

  1. Update your .env file:

MAILER_DSN=smtp://your_username:This email address is being protected from spambots. You need JavaScript enabled to view it.:587

  1. Test with bin/console swiftmailer:email:send.

10. Django (Python Applications)

  1. 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'

  1. Restart the application.

11. ASP.NET Core

  1. Add SMTP settings in appsettings.json:

{
"SmtpSettings": {
"Server": "mysmtp.com",
"Port": 587,
"Username": "your_username",
"Password": "your_password",
"UseSSL": false,
"UseStartTls": true
}
}

  1. Inject SMTP settings in your mail service.

12. Ghost (Node.js)

  1. Update config.production.json:

"mail": {
     "transport": "SMTP",
     "options": {
          "service": "SMTP",
          "host": "smtp.mysmtp.com",
          "port": 587,
          "auth": {
               "user": "your_username",
                    "pass": "your_password"
               }
          }
     }

  1. 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

FieldValue
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 This email address is being protected from spambots. You need JavaScript enabled to view it. (must match SPF/DKIM setup)

💡 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.