Table of Contents
Email Setup in Business Settings: #
Emails to customers/suppliers and users can be sent through PhantomERP for various purposes.
For example, Sale/Purchase Email Notification, Recurring Invoice Notifications etc
In order to send these notifications, the email details are to be set up in Business Settings.
Steps for Setting Mail Details #
Follow the steps below to add this
Step 1: Go to Settings > Business Settings > Email Settings.
Step 2: Add the required details
- MAIL_DRIVER=smtp
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
You can get in contact with your hosting provider for any of the values above.
For example with Gmail it looks like below:
- MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=TLS
NOTE:
- Some hosting disable port 587 and due to that email may not work, contact your hosting provider & they will enable it.
- Use either TLS or SSL, don’t type both. Also, provide the port according to the given encryption used.
Step 3: After adding all the details, click the test SMS button to check if the configuration is correct.
If it gives some error, you can fix it accordingly.