Email Integration
Email Integration
Configure email for automated notifications and communication.
Time Required: 15 minutes Module: Email, Settings User Role: System Admin
Table of Contents
- Overview
- Configure Outgoing Email
- Configure Incoming Email
- Email Templates
- Automated Notifications
- Troubleshooting
Overview
Email integration enables:
- Automated notifications to students/parents
- Admission confirmation emails
- Fee reminders
- Assignment notifications
- Custom email campaigns
Configure Outgoing Email
SMTP Setup
- Go to Settings > Technical > Outgoing Mail Servers
- Click Create
- Enter server details:
| Field | Description | Example |
|---|---|---|
Description | Server name | ”Institution SMTP” |
SMTP Server | Mail server host | smtp.gmail.com |
SMTP Port | Server port | 587 |
Connection Security | TLS/SSL | TLS |
Username | Email account | noreply@school.edu |
Password | App password | xxxxxxxx |
- Click Test Connection
- Save
Gmail Configuration
For Gmail:
- Enable 2-factor authentication
- Generate App Password
- Use
smtp.gmail.comport587 - Enable “Less secure apps” or use OAuth
Office 365 Configuration
| Field | Value |
|---|---|
| SMTP Server | smtp.office365.com |
| Port | 587 |
| Security | STARTTLS |
| Authentication | OAuth2 |
Configure Incoming Email
Fetchmail Setup
- Go to Settings > Technical > Incoming Mail Servers
- Click Create
- Configure:
| Field | Description |
|---|---|
Name | Server identifier |
Server Type | IMAP/POP |
Server | mail.domain.com |
Port | 993 (IMAP SSL) |
Username | Email address |
Password | Password |
-
Set Actions:
- Create leads
- Create tickets
- Reply handling
-
Test and activate
Email Templates
Create Template
- Go to Settings > Technical > Email Templates
- Click Create
- Configure:
| Field | Description |
|---|---|
Name | Template name |
Subject | Email subject |
From | Sender address |
To | Recipient (dynamic) |
Body | Email content |
Dynamic Fields
Use placeholders for personalization:
Dear ${object.name},
Your admission to ${object.course_id.name} is confirmed.
Batch: ${object.batch_id.name}Start Date: ${object.admission_date}
Best regards,${user.name}Common Placeholders
| Placeholder | Description |
|---|---|
${object.name} | Record name |
${object.email} | Email address |
${user.name} | Current user |
${user.company_id.name} | Institution name |
Automated Notifications
Enable Notifications
- Go to OpenEduCat > Configuration > Settings
- Under Email Notifications:
- Enable desired notifications
- Select templates
- Save
Available Notifications
| Event | Recipient | Template |
|---|---|---|
| Admission Confirmed | Student | Admission Confirmation |
| Fee Due | Student/Parent | Fee Reminder |
| Assignment Posted | Students | New Assignment |
| Exam Schedule | Students | Exam Notification |
| Result Published | Students | Result Announcement |
| Attendance Alert | Parents | Low Attendance |
Scheduled Emails
- Go to Email Marketing > Campaigns
- Create campaign
- Set schedule
- Select recipients
- Choose template
- Activate
Troubleshooting
Emails Not Sending
- Check outgoing server configuration
- Verify credentials
- Check scheduled actions (cron)
- View failed emails in queue
Email Marked as Spam
- Configure SPF record
- Set up DKIM
- Use consistent “From” address
- Avoid spam trigger words
Connection Timeout
- Verify server address
- Check firewall rules
- Test port accessibility
- Try different security settings