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.
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]');