End of year Sale! Limited time offer! Up to 40% off
It will use the php mail() function to Send email.
When you choose the PHP mail function, you are sending email directly from your server. This can cause issues like, email could be marked as spam by the email providers.
It will use SMTP to send email. In Email Settings chose SMTP from the Dropdown of Send Email using
System Email | Default Sender Email |
SMTP Host | SMTP Host, e.g. mail.example.com |
SMTP Username | Username, e.g. [email protected] |
SMTP Password | Enter the SMTP password |
SMTP Port | The default port your mail server uses, e.g. 25 |
SMTP Secure | Select the SSL type |
SMTP ERROR: Failed to connect to server: Connection timed out (110)
That means, your server can't connect with the SMTP host.
Signup at- https://mailtrap.io/
You will get an SMTP credential. Use that credential to test whether the SMTP is working.
First Enable Dev Mode by Editing the File system/config.php change Live to Dev for details-
https://www.cloudonex.com/business-suite/enabling-dev-mode
Go to Settings -> Email Settings
Right click on that and Click Inspect
Next Click On the Network Tab
Now, Enter one of your Email Address and Try Testing it
If you see a 500 error, Click on that link
It should show the actual error message why it is unable to Send the Email.
The API based drivers like Mailgun is often convenient and faster than SMTP servers. Business suite supports mailgun as Email Sending Driver. Choose mailgun from the dropdown list & select mailgun domain and mailgun API key. You must first signup & configure mailgun before using this driver. Also make sure php curl is enabled in your server.
How do you know if your server can send email using php mail function-
Run this simple php code and check if it works-
<!--?php
//sending email with the php mail()
mail('[email protected]', 'Test Subject', 'Test Body', 'From: [email protected]');</code-->