Set up outgoing and incoming email servers for system communications, notifications, and messaging.
Time required: 15-20 minutes
Module: mail, base
User role: System Administrator
Prerequisites
Steps
Step 1: Access Email Configuration
- Go to Settings -> General Settings
- Navigate to Discuss section
- Click Configure Email Servers
- Click Outgoing Mail Servers
- Click Create
| Field | Required | Description | Example |
|---|
| Description | Yes | Server name | ”Gmail SMTP” |
| SMTP Server | Yes | Server address | ”smtp.gmail.com” |
| SMTP Port | Yes | Server port | 587 |
| Connection Security | Yes | Encryption | TLS |
Step 3: Enter Authentication
| Field | Description | Example |
|---|
| Username | SMTP username | ”noreply@school.edu” |
| Password | SMTP password | (App-specific password) |
Step 4: Test Outgoing Server
- Click Test Connection
- Verify “Connection successful” message
- Send test email to confirm delivery
For email-to-ticket or reply processing:
- Go to Incoming Mail Servers
- Click Create
| Field | Description | Example |
|---|
| Name | Server identifier | ”Support Inbox” |
| Server Type | Protocol | IMAP |
| Server Name | Mail server | ”imap.gmail.com” |
| Port | Server port | 993 |
| SSL/TLS | Encryption | Yes |
Step 6: Set Default From Address
- Go to Settings -> General Settings
- Set Email FROM address
- This appears as sender for system emails
Create functional email addresses:
Step 8: Activate Server
- Enable Active checkbox
- Click Save
- Server is now operational
Provider-Specific Settings
Gmail/Google Workspace
| Setting | Value |
|---|
| SMTP Server | smtp.gmail.com |
| Port | 587 |
| Security | TLS |
| Note | Use App Password |
Microsoft 365
| Setting | Value |
|---|
| SMTP Server | smtp.office365.com |
| Port | 587 |
| Security | STARTTLS |
| Note | Enable SMTP AUTH |
Amazon SES
| Setting | Value |
|---|
| SMTP Server | email-smtp.region.amazonaws.com |
| Port | 587 |
| Security | TLS |
| Note | Verify sending identity |
Field Reference
Outgoing Mail Server
| Technical Field | UI Label | Type | Notes |
|---|
name | Description | Char | Server identifier |
smtp_host | SMTP Server | Char | Server address |
smtp_port | SMTP Port | Integer | Usually 587 |
smtp_encryption | Security | Selection | none/starttls/ssl |
smtp_user | Username | Char | Auth username |
smtp_pass | Password | Char | Auth password |
Troubleshooting
Connection refused
- Verify SMTP host and port are correct
- Check firewall allows outbound connection
- Confirm server credentials
Authentication failed
- Check username/password
- For Gmail, use App Password (not account password)
- Verify 2FA settings don’t block access
Emails not delivering
- Check spam/junk folder
- Verify SPF/DKIM/DMARC records
- Review email logs for errors
Related: Set Up Email Notifications | Configure Email Templates