News and articles
Removing viruses from a website: How to do it?

In this article, we will outline a step-by-step algorithm for detecting and removing viruses from a website, as well as provide recommendations for protection and preventing future incidents. By following these instructions, you will not only clean your site but also secure it for the future.

 
 
 
 
 
Modules from halfhope are now free.

Personalized templates, File System Monitoring, Extended Schemes, and other modules from the author halfhope are now free.

 
 
 
 
 
How to quickly add and fill tabs inside products in OpenCart 3 using IMTabs?

The "IMTabs (OC 3)" module allows you to easily create and fill additional tabs for products in OpenCart, including uniform information such as FAQs, with customization and automation options.

 
 
 
 
 
A selection of new modules for Opencart in November 2024

New products for November 2024: SDEK, Sberbank Installment Plan, Simple Reviews.

 
 
 
 
 
Best-selling templates and extensions in November 2024

Best-selling templates and extensions in November 2024: Dream Filter, Microdata, Frame template

 
 
 
 
 

Mail setup in OpenCart

 
Mail setup in OpenCart
  • 0

In this article, we will look at how to set up mail in OpenCart to ensure stable email delivery to customers and the administration.

Sending emails is an important element of an online store's functionality. This includes order notifications, password recovery messages, status change alerts, and other emails. Without proper mail configuration, your store may face email delivery issues, leading to missed orders and harming the store's overall reputation. In this article, we will look at how to set up mail in OpenCart to ensure stable email delivery to customers and the administration.

There are two main ways to send emails in OpenCart:

  • Mail (PHP mail) — the standard way of sending messages using PHP’s built-in capabilities.
  • SMTP — a more reliable and secure method that uses external SMTP servers.

Setting up mail via Mail

  1. Go to the OpenCart admin panel.
  2. Open the System > Settings section.
  3. Select the desired store and click Edit.
  4. Go to the Mail tab.
  5. Make sure the Mail Protocol field is set to Mail.
  6. Save the changes.

This method works quickly but may have limitations imposed by the hosting provider, and such emails often end up in spam.

Setting up mail via SMTP

SMTP is the preferred method as it ensures better email deliverability and security.

Steps to set up SMTP:

  1. Go to the OpenCart admin panel.
  2. Open the System > Settings section.
  3. Select the desired store and click Edit.
  4. Go to the Mail tab.
  5. Ensure the Mail Protocol field is set to SMTP
    • SMTP Host: specify the SMTP server (e.g., ssl://smtp.gmail.com for Google, ssl://smtp.yandex.ru for Yandex, ssl://smtp.mail.ru for Mail.ru).
    • SMTP Username: enter the full email address (e.g., yourmail@yandex.ru).
    • SMTP Password: enter the email account password (see notes below about password specifics).
    • SMTP Port: use 465.
    • SMTP Timeout: use 5 or 10.
  6. Save the changes.

Features of connecting mail on Yandex

For Yandex, you need to use an application-specific password instead of your regular email password. This can be done at App Passwords. Yandex will generate the password, and you will only need to provide a custom name, such as "mail for the store."

You also need to enable the following setting in Yandex: Mail > All settings > Mail programs, check the box next to App passwords and OAuth tokens.

Features of connecting mail on Mail.ru

For Mail.ru, you also need to generate a special password for external applications. To do this, go to Security > Passwords for external applications. Mail.ru will generate the password, and you will only need to provide a custom name, such as "Mail for the site."


Рекомендуем посмотреть
Рекомендуем прочитать
 
 


Yet, no one has left a comment to the entry.