Email Configuration
Configure the Email module with your preferred provider.
Provider Setup
- Go to Admin Panel > Email > Settings
- Select provider
- Enter credentials
- Save
Provider Configuration
Mailgun
| Setting | Description |
|---|---|
| API Key | Your Mailgun API key |
| Domain | Your Mailgun domain |
| Host | Mailgun API host (US or EU) |
SendGrid
| Setting | Description |
|---|---|
| API Key | Your SendGrid API key |
Mandrill
| Setting | Description |
|---|---|
| API Key | Your Mandrill API key |
SMTP
| Setting | Description |
|---|---|
| Host | SMTP server host |
| Port | SMTP server port |
| Username | SMTP username |
| Password | SMTP password |
| Secure | Use TLS |
Templates
Creating Templates
- Go to Email > Templates
- Click Create Template
- Enter name, subject, and body
- Use variables with
{{variableName}}syntax
Template Variables
<h1>Hello {{userName}}!</h1>
<p>Your order #{{orderId}} has been confirmed.</p>
Syncing with Provider
Templates can be synced with your email provider:
- Upload local templates to provider
- Download provider templates locally
Sender Configuration
| Setting | Description |
|---|---|
| From Email | Default sender email |
| From Name | Default sender name |
Best Practices
- Use templates for consistent branding
- Test emails before production
- Monitor delivery rates
- Handle bounces appropriately