> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.mysmtp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrating with Web Applications

> Learn how to integrate mySMTP with popular web applications and e-commerce platforms including WordPress, Magento, WooCommerce, PrestaShop, Joomla, Drupal, and more.

This guide walks you through integrating mySMTP with popular web applications and e-commerce platforms.

## 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:

```bash theme={null}
MAIL_MAILER=smtp
MAIL_HOST=smtp.mysmtp.com
MAIL_PORT=587
MAIL_USERNAME=your_username
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=tls
```

2. Clear cache and restart the server.

### 9. Symfony

1. Update your .env file:

```bash theme={null}
MAILER_DSN=smtp://your_username:your_password@smtp.mysmtp.com:587
```

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

### 10. Django (Python Applications)

1. Update settings.py:

```python theme={null}
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'
```

2. Restart the application.

### 11. ASP.NET Core

1. Add SMTP settings in appsettings.json:

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

2. Inject SMTP settings in your mail service.

### 12. Ghost (Node.js)

1. Update config.production.json:

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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.