Skip to content

Enhanced SMTP by KiwiCommerce

Why This Extension

    • Delivering messages is an essential and mandatory part of running an e-Commerce business. Magento sends hundreds and thousands of emails on a daily basis. Reliability of the email sending process should be as stable as possible. All emails must be delivered to recipients without delays.
    • Magento-based store owners often struggle when it comes to sending transactional emails. The default email server of inherent hosting will be used to send unregistered emails from unauthorized senders. These emails that are sent by default Magento 2, will probably end up in the Spam box. As a result, these emails cannot approach your customers.
    • This extension lets you use any third-party SMTP server for your store and configure all the necessary settings to avoid this problem. You can use any reliable SMTP server to give your emails higher chances to be delivered directly to your customers.
    • This extension includes pre-configured settings for most popular SMTP providers such as:

      • AT&T
      • AOLMail
      • BTConnect
      • BTOpenworld
      • Comcast
      • ElasticEmail
      • Gmail,GSuite
      • GMX
      • Hotmail
      • Mailgun
      • Mandrill
      • Mail.com
      • Mailjet
      • [email protected]
      • O2Mail
      • Office365
      • Orange
      • Outlook
      • O2OnlineDeutschland
      • OVH
      • Postmark
      • SendinBlue
      • SendGrid
      • SparkPost
      • Verizon
      • YahooMail
      • YahooMailPlus
      • YahooAU/NZ
      • CustomSMTP
    • This extension provides you with a feature to track all sent emails by inserting email log.

Where will it appear in the Admin Panel

    • Go to System > Enhanced SMTP by KiwiCommerce > Email Logs. Here you can See the list of sent mail logs.

      Email Log

    • By clicking View in each mail log, you can have a look at the mail through the eyes of your customers.

      Email Popup

How To Configure Extension

1. General Configuration

Go to System > Enhanced SMTP by KiwiCommerce > Configuration. Open General section

Configuration General Section

Enable: Set Yes to enable Enhanced SMTP extension.

Clear Logs After X Days: Set the days after which you want to clear the Email logs. After that number of days, Email logs will be deleted from the database.

Sending Failed Warning After X Times: This field shows a warning message in admin after failing at sending an email X time. Here X is the value that you set in this field.

Email Fail Sending System Message

2. Enable Module Section

From General Configuration, scroll down to see Enable Module Section. This setting allows/disallows to record email history for the modules given below.

Enable Module Section

Enable/Disabled to insert email log of Orders, Customer, Newsletter, Contact Us form.

3. SMTP Configuration

This section is placed right under the Enable Module Section.

SMTP Configuration Section

SMTP Provider: We support around 30 SMTP email service providers so feel free to choose your appropriate provider. When you select an SMTP provider, it automatically fills the Host, Port, Authentication and Protocol details that are compatible with the SMTP provider you have chosen.

Hostname: Here you set your SMTP Provider’s Hostname. You can also skip this step if you have the data loaded from SMTP provider field in the first place.

Port: Port is a specific gate from where through emails are sending. You can also skip this step if you have the data loaded from the SMTP provider list. In general, there are ports uses

    • Port 25: Emails sent by other Protocol with different SSL will be sent through this portal
    • Port 465: Emails sent by SSL Protocol will be sent through this portal
    • Port 578: Emails sent by TLS Protocol will be sent through this portal

Username: Set your SMTP Provider’s Username over here.

Password: Set your SMTP Provider’s Password over here.

Protocol: Pass this step if you have the data loaded from the SMTP provider field, or you can select from one of the protocols given below:

    • None: when you select this protocol, you have to accept all the risk that may occur in the process of sending.
    • SSL stands for Secure Socket Layer. This protocol ensures that all data exchanged between the web server and the browser is secure and safe.
    • TLS means Transport Layer Security. This protocol secures data or messages and validates the integrity of messages through message authentication codes.

Authentication: Authentication is a field where you decide an authentication method. If you hadn’t load data from the SMTP provider field, please note those basic methods

    • Login: Authentication by login to the account through Username and Password that will be filled in the next field. Most of provider will require this method.
    • Plain
    • CRAM-MD5

4. Advanced Configuration

This section is placed right under the SMTP Configure Section.

Advanced Configuration Section

Send Test Email From: Select sender for sending the test email.

Send Test Email To: Set recipient email for sending the test email. After filling this field click on the Send Email button to send the test email.

Note: Don't forget to Save Config before send the test email.

If the information entered is valid, a successful email notification will be sent.

Test Email Success

The test email sent with the following content:

Test Email Content

If the information entered is invalid, an alert with the error message will be shown as below.

Test Email Error

If you see the error message while sending a test email, then check SMTP configuration and try again.

Enable Email Log: This setting allows/disallows to create an Email log.

    • Yes: Sent emails will be saved in the Emails Log, you can preview it and can get it cleaned after a fixed schedule.
    • No: Do not save the email log.

Enable Developer Mode: This setting allow/disallow to send test Email(s).

    • Yes: Magento will not deliver any email to the receiver.
    • No: Magento will deliver all emails to the receiver.

Security

    • Admin can set access of Email Log and Enhanced SMTP configuration to different admin users.
    • Admin can use the user role setting to give access of Enhanced SMTP to different admin users.

      ACL Email Log ACL SMTP Configuration

Installation

    1. Composer Installation

      • Navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Then run the following command

        composer require kiwicommerce/module-enhanced-smtp
        
      • Make sure that composer finished the installation without errors

    2. Command Line Installation

      • Backup your web directory and database
      • Download Enhanced SMTP installation package from Github.
      • Upload contents of the Enhanced SMTP Log installation package to your Magento root directory
      • Navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Then run the following command

        php bin/magento module:enable KiwiCommerce_EnhancedSMTP
        
    • After install the extension, run the following command

      php bin/magento setup:upgrade
      php bin/magento setup:di:compile
      php bin/magento setup:static-content:deploy
      php bin/magento cache:flush
      
    • Log out from the backend and log in again.

Uninstall Module

    1. Uninstall using Composer

      • In the SSH console of your server, navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Then run the following command

        composer remove kiwicommerce/module-enhanced-smtp
        
    2. Uninstall manually

      • In the SSH console of your server, navigate to your Magento root folder

        cd path_to_the_magento_root_directory
        
      • Disable the module by executing below commands.

        php bin/magento module:disable KiwiCommerce_EnhancedSMTP
        php bin/magento setup:upgrade
        php bin/magento setup:di:compile
        php bin/magento setup:static-content:deploy
        
      • Remove extension files.

        rm -rf app/code/KiwiCommerce/EnhancedSMTP
        
      • Database Table

        • There will be one table automatically installed in the database named
          kiwicommerce_email_log