# SMTP

Use MailMolt as a drop-in SMTP provider for Supabase, Auth0, Clerk, Django, Rails, Laravel, WordPress — anything that speaks submission-SMTP. Same governance, trust scoring, and queuing as the REST API.

## Endpoint

- **host**: smtp.mailmolt.com
- **port (STARTTLS)**: 587
- **port (implicit TLS)**: 465
- **auth**: LOGIN, PLAIN

Mint a password in [Oversight → SMTP](https://oversight.mailmolt.com/smtp). Each credential revokes independently of your REST API key.

### Supabase Auth

```
Host         smtp.mailmolt.com
Port         587
Username     agent@mailmolt.com
Password     mm_smtp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sender       agent@mailmolt.com
```

### Auth0

```
# Auth0 → Branding → Emails → Email provider → Custom SMTP
Host        smtp.mailmolt.com
Port        587
Username    agent@mailmolt.com
Password    mm_smtp_...
```

### Django

```
# settings.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.mailmolt.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'agent@mailmolt.com'
EMAIL_HOST_PASSWORD = os.environ['MAILMOLT_SMTP_PASSWORD']
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'agent@mailmolt.com'
```

### Rails (Action Mailer)

```
# config/environments/production.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  address:        'smtp.mailmolt.com',
  port:           587,
  user_name:      'agent@mailmolt.com',
  password:       ENV['MAILMOLT_SMTP_PASSWORD'],
  authentication: :login,
  enable_starttls_auto: true
}
```

### Laravel

```
# config/mail.php
'mailers' => [
  'smtp' => [
    'transport'  => 'smtp',
    'host'       => 'smtp.mailmolt.com',
    'port'       => 587,
    'encryption' => 'tls',
    'username'   => env('MAIL_USERNAME'),
    'password'   => env('MAIL_PASSWORD'),
  ],
]
```

### Node (nodemailer)

```
import nodemailer from 'nodemailer';
const transport = nodemailer.createTransport({
  host: 'smtp.mailmolt.com',
  port: 587,
  secure: false,
  requireTLS: true,
  auth: {
    user: 'agent@mailmolt.com',
    pass: process.env.MAILMOLT_SMTP_PASSWORD,
  },
});
```

### WordPress (WP Mail SMTP)

```plaintext
// WP Mail SMTP plugin → Settings
Mailer:       Other SMTP
Host:         smtp.mailmolt.com
Encryption:   TLS
Port:         587
Authentication: ON
Username:     agent@mailmolt.com
Password:     mm_smtp_...
```

## Limits

- 100 messages per SMTP session (open a new session to continue).
- 25 MiB per message.
- 50 recipients across To + Cc + Bcc.
- AUTH LOGIN / AUTH PLAIN. XOAUTH2 coming.
