Email settings
This guide explains how to configure email sending and receiving settings in ERPNext and enable notifications and report sending.
Email Settings Overview
Using ERPNext's email function:
- Emailing of documents: Estimates and invoices will be sent via email with PDF attachments.
- Notification Emails: Email notifications for workflow approvals and alerts.
- Received Emails: Receive and manage emails within ERPNext.
Setting up your outgoing email account
Step 1: Open your email account
In the search barメールアカウント Enter the following:
Step 2: Create or edit
Click "+ Add" or an existing account.
Step 3: Enter Sending Settings
| Item Name | Description | Required |
|---|---|---|
| Email Address | Sender Address | ✅ |
| Password | Email account password | ✅ |
| SMTP Server | Email sending server (e.g., smtp.gmail.com) | ✅ |
| SMTP Port | Port Number (Usually: 587 or 465) | ✅ |
| Use TLS | Secure connection (usually on) | — |
| Default Sender | Set this account as the default sender | — |
Example configurations for major email services
| Services | SMTP Server | Port |
|---|---|---|
| Gmail | smtp.gmail.com | 587 |
| Microsoft 365 | smtp.office365.com | 587 |
| Sakura Internet | servername.sakura.ne.jp | 587 |
| Xserver | svXXXX.xserver.jp | 465 |
Step 4: Test Send
After saving the settings, send a test email using the "Send Test Email" button to verify.
Settings for receiving emails
When receiving emails within ERPNext:
| Item Name | Description |
|---|---|
| IMAP/POP Server | Incoming Server |
| Enable receiving | Check on |
| Reception Interval | Email Check Interval (minutes) |
Notification email settings
Email notification template
In the search bar通知 Entering this will allow you to manage email notification rules.
Items to configure in each notification rule:
| Item Name | Description |
|---|---|
| Channels | Email / System Notification |
| Events | Create / Save / Submit / Change Values |
| Conditions | Conditional expression for sending notifications |
| Recipients | To whom (role / specific user / document owner) |
| Subject | Email subject (Jinja template can be used) |
| Body | Email Body |
FAQ
Q: I'm getting a "less secure app" error in Gmail.
Create an "App Password" with your Google account and use it instead of your regular password. Two-factor authentication is required.
Q: My email is not being sent.
In the search barメールキュー Enter the following to check for errors in the send queue.
Next Steps
Once you have finished setting up your email, Backup and Restore Let's move on.