OpenCart 3 is initially pre-configured to use the default PHP Mail function for sending email notifications generated by the store. Due to the fact that the PHP Mail function sends the emails directly from the server IP address, there is a quite high chance for them to get marked as spam and consequently non-delivered. This is one of the reasons it is strongly recommended to consider sending your emails via SMTP. In this guide, we will show you how to configure your OpenCart store to send emails using the SMTP service within a few simple clicks.
Before we step into the SMTP configuration of your store there is certain information you will need to gather. You will need the following details:
You can obtain the above-mentioned details from your email service provider. In case you are a HostArmada customer, you will be able to find the required details in the welcome email containing all the important information of your hosting account with us. You can review the email directly from your Client Area by clicking on the email icon located at the top menu bar. In case you have any difficulties finding the details, please make sure to submit a ticket request to our team and they will gladly provide you with them.
Now, in order to configure your mail settings, please log in to your OpenCart Admin Dashboard and navigate through the left menu bar to System > Settings.
After you access the “Stores” page, please click on the “Edit” button (the pencil icon) next to your store name and you will be redirected to the “Edit Settings” page.
On the new page, you will see a number of tabs containing the system settings of your store. The main focus of this guide will on the “Mail” tab, therefore, please make sure to switch to it. You will notice that the tab is split into two sections: “General” and “Mail Alerts” in the following lines we will separately review each of them.
Now that you have accessed the “Mail” settings page you will see the SMTP configuration fields displayed under the first “General” section.
To configure OpenCart to send emails via SMTP, please do the following:
When you fill the required information and you are ready, please do not forget to click on the blue “Save” button positioned at the upper-right corner of the page.
Once this is done, please make sure to test your newly configured settings in order to confirm the email delivery is successful. When you ensure everything is properly working, you are all set!
In the following “Mail Alerts” section of the “Mail” settings tab, you will be able to select which customers’ activities will trigger email notifications sent to your store admin email address.
Once you are ready, please click on the blue “Save” button in order to record your changes.
You are all set now! You have managed to configure your SMTP settings as well as your email alert preferences. We hope you have found the information in this tutorial useful and our guidance easy to follow. If for some reason the emails are not sent successfully after you have saved your SMTP settings, please make sure to submit a support ticket to our Technical Staff so they can review them and further investigate.
Sebahat is a young and bright woman who has become an invaluable part of our team. She started as a Customer Care Representative, mastering that role and, along the way, growing into a tech-savvy individual who is well acquainted with every support layer of the company. Driven by her aim to improve our customers’ experience constantly, she is committed to enhancing the extraordinary support we deliver.