Magento 2 SMTP Extension helps the owner of store simply install SMTP server

Overview

Magento 2 SMTP - AVADA Email Marketing Integration

Every day you send and receive hundreds or more emails, however, you actually do not know whether they will get your targeted customers inbox. So, we offer Magento 2 SMTP Extension as a solution for this problem.

SMTP Extension for Magento 2 allows the owner offer a Magento 2 store to custom SMTP (Simple Mail Transfer Protocol) server which transmits email messages. Through the SMTP server, messages will be delivered directly and automatically to the chosen customers. It offers flexible configurations with 21 different SMTP servers such as Gmail, Hotmail, O2 Mail, Office365, Mail.com, Send In Blue, AOL Mail Orange, GMX, Outlook, Yahoo, Comcast, or Custom SMTP - for your own SMTP server, etc.

Latest Stable Version Total Downloads

smtp configuration

1. Documentation

2. How to install SMTP Extension

Install via composer (recommend)

Run the following command in Magento 2 root folder:

composer require mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

3. Highlight features:

Flexible Configurations

The SMTP Extension is easy and flexible to configure. It's easy for the owner to set or reset any option. It can easily be configured in many different ways to suit your purposes.

SMTP Debug mode

The extension offers an useful debugging mode. This allows store owners to test their emails by logging an exact copy of emails sent to customers, including the content. This allows store owners to see and correct any errors in sent emails. The Debug mode allows owners to manage, preview or review the time the email was created. The logs can be deleted either automatically through a cron job or manually.

Email logging

All the emails sent out from your store will be kept in the Magento 2 SMTP extension log. The Admin can review the content of the email and to whom it was sent. Furthermore, you also check the time sent and the current, status whether it is pending, in process or failed in the list.

Test email

This feature allows admin test the SMTP Settings and make sure it works for current store.

Full features of the SMTP Extension for Magento 2

  • Use Your Own SMTP Server
  • Sending the test emails before sending officially
  • Ensure all emails will be sent to desired customers
  • Email logging with detailed view of every letter
  • Delete email log manually
  • Debug mode by SMTP email settings to test
  • Supports flexible servers
  • Check and preview sent emails
  • [NEW] Integration with AVADA Email Marketing
  • [NEW] Abandoned cart emails
  • [NEW] Welcome email to new subscribers, customers

4. User Guide

In Magento 2, the default email server is the server installed on the webserver, which means the sender reputation for emails may be low. Low sender reputation may cause emails to be treated as untrustworthy and may be delivered to spam folders. This is undesirable for obvious reasons. Imagine your customers' reaction when important email communication like password resets, transactional emails, shipping notifications and and others are not delivered.

Mageplaza SMTP will help you resolve this issue. We make several popular email providers available to configure directly in your magento admin panel. We also provide you with an easy to review log of emails that were sent, including useful details for debugging. Say goodbye to your customers' spam box forever.

How to config SMTP

1. Email logs

This can be accessed at Mageplaza > SMTP > Email Logs. From here you can see the emails sent from the server to customers.

How to config SMTP Email logs

By clicking View in each email, you can have an understanding of what the customer will see when they receive the email in their client. You can hit the Clear red button to clear all the archived emails to clean up your archive when you are done.

 How to config SMTP order

2. Configuration

2.2.1 General Configuration

Log into the Magento administration panel, go to Mageplaza > SMTP > Configuration > General Configuration

Choose Yes to enable Mageplaza SMTP.

 How to config SMTPSMTP on

2.2.2 SMTP Configuration Options

In the general general configuration area, scroll down to the SMTP Configuration Options

magento 2 smtp configuration

  • In SMTP Provider field, choose your provider from one of nearly 30 SMTP email service providers. Click Auto Fill button to fill Host, Port, Authentication and Protocol automatically, which are compatible with the SMTP provider you had chosen. Alternatively, you can select a custom provider, and fill this information in yourself.

  • At Host field, type your Support Host name and ID Address. You can also customize the STMP Provider’s Host name here. If you clicked Auto fill button, you can skip this step.

  • Port is a specific gate where emails will be sent through. You can also pass this step if you had choose Auto fill from the first place. In general, there will be 3 kinds of Default Port

    • Port 25: Emails sent by other Protocol which different SSL will be sent through this portal
    • Port 465: Emails sent by other Protocol SSL will be sent through this portal
    • Port 578: Emails sent by other Protocol TLS will be sent through this portal
  • Authentication field is place where you decide an authentication method. If you hadn’t clicked Auto fill button before, 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
  • Account: where you enter the account name matching format of the SMTP Provider you had selected

  • Password: password of the Username. After saving, the password will be encrypted into ******

  • Protocol: pass this step if you had chosen Auto fill, or you can select one of the providing protocol below here

    • None: when you select this protocol, you have to accept all the risk 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 stay safe.
    • TLS means Transport Layer Security. This protocol secures data or messages and validates the integrity of messages through message authentication codes.
  • Return-path email: leave it empty if you want to ignore this.

  • Test email recipient: This is the field for you to test the operation of the extension. After filling all fields, click Test Now button. If the information entered is valid, a successful email notification will be sent from Username to Email Test. That email will have the following content:

magento 2 smtp test result

2.2.3 Schedule Log Cleaner

This section is placed right under SMTP Configuration Options, which is from Admin Panel > Mageplaza > SMTP > Configuration > scroll down and expand to see Schedule Log Cleaner

smtp cleaner

The Clean Email Log Every field limits the storage time for the email you sent. After that limited number of days, Email will automatically delete. If you do not want to delete the emails, leave the field blank.

2.2.4 Developer

  • Log Email will supply two modes:

    • Yes: Sent emails will be saved in the Emails Log, you can preview it and having it clean up follow fixed schedule.
    • No: Sent emails won’t be archived.
  • Developer Mode:

    • Yes: Magento will not deliver any email to receiver
    • No: Magento will deliver email to receiver

People also search:

  • mageplaza smtp
  • mageplaza smtp magento 2
  • smtp magento 2
  • magento 2 smtp extension
  • magento 2 smtp settings
  • smtp pro magento 2
  • mageplaza/module-smtp
  • magento 2.3 smtp
  • magento 2 smtp configuration

Orther Mageplaza extension on Github & Maketplace

Magento 2 One Page Checkout

Magento 2 SEO extension

Magento 2 Reward Points extension

Magento 2 Blog extension

Magento 2 Layered Navigation extension

Magento 2 GDPR module

Magento 2 Google Tag Manager

Magento 2 Social Login on Github

Magento 2 SEO extension on Github

Magento 2 Blog extension on Github

Magento 2 Product Slider on Github

Magento 2 Login as Customer on Github

Comments
  • SMTP error in Magento CE 2.3.3

    SMTP error in Magento CE 2.3.3

    Hi, I'm testing the upgrade from Magento CE 2.3.2 to 2.3.3.

    I think that Magento change again something. Can you check, please? Thanks!

    main.CRITICAL: Invalid header value detected {"exception":"[object] (Magento\Framework\Exception\MailException(code: 0): Invalid header value detected at /home/[...]/vendor/mageplaza/module-smtp/Mail/Transport.php:118, Zend\Mail\Header\Exception\RuntimeException(code: 0): Invalid header value detected at /home/[...]/vendor/zendframework/zend-mail/src/Header/HeaderValue.php:112)"}

    opened by michelecanal 63
  • Disable SSL certificate validation

    Disable SSL certificate validation

    Dear Sir or Madam,

    On a Magento 2.1 installation, for one of our client, we needed to connect to one of our mail server where we hosted a no-reply email address for our client.

    However, since our mail server certificate is mail.mycompany.com and our client email will be site.myclientcom, the URl fields in the certificate does not correspond and PHP complains with this error

    Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /home/website/vendor/magento/zendframework1/library/Zend/Mail/Protocol/Smtp.php on line 206
    

    This line 206 is as follow:

    if (!stream_socket_enable_crypto($this->_socket, true, STREAM_CRYPTO_METHOD_TLS_CLIENT)) {
    

    I checked the PHP documentation, but wasn't able to find a way to disable PHP TLS certificate validation.

    Do you have a proper way to achieve such a thing, without modifying your extension? Indeed, we still want to be able to apply updates to it, without repatching it manually. Thanks for your help.

    opened by wget 35
  • Magento 2.2.8 compatibility?

    Magento 2.2.8 compatibility?

    Update my Magento store from 2.2.7 to 2.2.8 Module Version 1.2.9 Core module 1.4.2

    Error: Blank page on checkout (Payment success) Blank page if i try to send an E-Mail via Backend

    If i try to send a test E-Mail the loading icon disappears after one second and not error is shown nor an E-Mail is send..

    Any known issue with M2 2.2.8?

    opened by yacms 32
  • Can't set for default site configuration

    Can't set for default site configuration

    Attempting to configure for default settings for store in Magento 2.1.7 on setup with multiple stores and receive following error:

    Exception #0 (Magento\Framework\Exception\FileSystemException): The file "/composer.json" doesn't exist

    The file app/code/Mageplaza/Smtp/composer.json does appear to exist and be readable.

    Setting configuration for an individual site does work.

    opened by SlowFamily 31
  • Sendgrid setup issue: Error  Zend\Mail\Protocol\SmtpPluginManager::get was unable to fetch or create an instance for

    Sendgrid setup issue: Error Zend\Mail\Protocol\SmtpPluginManager::get was unable to fetch or create an instance for

    The module is not working with sendgrid

    On none authentication I get this error:

    Error Zend\Mail\Protocol\SmtpPluginManager::get was unable to fetch or create an instance for

    on all other authentication methods I get this error:

    Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in C:\xampp71\htdocs\Magento\magento22\vendor\zendframework\zend-mail\src\Protocol\Smtp.php on line 215

    opened by DockerXRayGun 30
  • Invalid MAIL FROM address provided

    Invalid MAIL FROM address provided

    Hi there,

    Getting this error

    Error Invalid MAIL FROM address provided (Where do u define the from address or which of the store emails does it use when testing)

    when i try to test it I am using AWS SES

    Thanks regards Ritesh Ramesh

    opened by rramesh2000 25
  • Keep getting warning message to activate

    Keep getting warning message to activate

    Once installed this module via composer I keep seeing a warning message about activation.

    One or more Mageplaza extensions are not validated. Click here to validate them.
    

    When here is clicked, nothing to do on the plugin setup page.

    opened by clemblanco 20
  • Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1

    Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1

    Preconditions

    Magento 2.2.6 PHP 7.1.18 Amazon ses is not in sandbox mode

    Steps to reproduce

    Configuring smtp with Amazon ses, Reply to customer ticket

    Expected result

    Send a email to customer using customer support email address [email protected]

    Actual result

    Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: yoyo [email protected], [email protected] Note that this [email protected] is the administrator's email address, not the customer support email address [email protected]. When I changed the smtp configuration to google mailbox, it can send mail normally.

    opened by youphp 15
  • Oder email is not sent using Amazon SES

    Oder email is not sent using Amazon SES

    I have configured everything correctly for Amazon SES (preconfigured Amazon SES does not exist) and tried the test email. The test email works just fine. Password reset email works just fine

    I have placed the order and nothing was sent. Then I enabled Email logging and went to Sales->Order, opened the existing order and clicked on Send Email. Nothing was sent. The MagePlaza -> Email log shows the status for the email as ERROR. (The second email SUCCESS status is when I enabled Developer Mode, which of course did not send the email)

    It is run on Magento 2.2.4. Asynchronous sending is disabled

    I have poked around and apparently the Message From field of the message is empty for some reason if I leave Return-Path Email empty, even though the Order -> Sender is correctly configured in Sales Emails. The From field in Email Log still shows empty even if return Return-Path Email is configured and email sent.

    mageplazasmtp

    opened by Alex1844 13
  • Emails not being sent

    Emails not being sent

    I have setup the extension using the following settings

    image

    image

    However whenever I send a test email, I get the email was successfully sent message, however no email is received and there is no entry in the Email Logs database table. If I use telnet the email sends correctly.

    opened by stevenlavine 12
  • Magento 2.2.8 Issue

    Magento 2.2.8 Issue

    Hi

    When I try to register a customer I getting the following error

    FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Zend_Mail_Transport_Abstract::send() must be an instance of Zend_Mail, instance of Magento\Framework\Mail\Message\Interceptor given, called in /usr/share/nginx/html/vendor/mageplaza/module-smtp/Mail/Transport.php on line 113 and defined in /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Mail/Transport/Abstract.php:305

    It seems related that in 2.3.1 updated send function vendor/magento/framework/Mail/Transport.php $this->zendTransport->send( ZendMessage::fromString($this->message->getRawMessage()) );

    After it replaced in vendor/mageplaza/module-smtp/Mail/Transport.php

    There is another issue: *1623 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\Message\Interceptor::getHeaders() in /usr/share/nginx/html/vendor/mageplaza/module-smtp/Model/Log.php:128

    opened by sashas777 12
  • Error when I send test e-mail

    Error when I send test e-mail

    2022-11-07_22-37-23

    Preconditions (*)

    1. Magento 2.4.3-p1
    2. Smtp MagePlaza 4.7.3

    Steps to reproduce (*)

    1. Configure MagePlaza Smtp for Office365
    2. I will try send test e-mail

    Actual result (*)

    1. A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later.
    Issue 
    opened by csalvade 2
  • Return to: Field not working

    Return to: Field not working

    Preconditions (*)

    1. Magento 2.4.4

    Steps to reproduce (*)

    1. Configure the SMTP login details to allow the mail server to sent emails
    2. Set Username: [email protected] Password: @@@@@
    3. Set Return-Path: [email protected]
    4. All site wide email setting are set to [email protected]

    Expected result (*)

    1. When store emails and/or tests are sent the recipient receives from UserB@Domain not the login UserA

    Actual result (*)

    1. All Emails come from [email protected]
    Issue 
    opened by AndrewEio 0
  • Wrong displaing email preview

    Wrong displaing email preview

    Preconditions (*)

    1. Magento 2.4.2
    2. "mageplaza/module-smtp": "4.3.2"
    3. Chrome, Opera

    Steps to reproduce (*)

    1. Go to Stores->SMPT->Email logs
    2. click in action field selector -> view
    3. close preview screen and open another email preview by doing step 2 again
    4. reload page and do step 2,3 again

    Expected result (*)

    1. you will see the difference between email previews

    Actual result (*)

    1. there are no difference between email previews
    Issue 
    opened by Fantikez 0
  • Emails not sent - Authentication error - 0402

    Emails not sent - Authentication error - 0402

    Hello,

    Magento version 2.4.3 Mageplaza Smtp version 1.10.2

    No email are sent. I've try to send test emails via admin but still no success.

    Authentication error, despite of correct credentials (tested with different mail accounts, providers).

    smtp error

    Full error stacktrace:

    [2022-10-14 19:40:26] main.CRITICAL: 5.7.0 Authentication error - 0402^M
     {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): 5.7.0 Authentication error - 0402^M
     at /data/web/app/magento/vendor/mageplaza/module-smtp/Mail/Transport.php:141, Laminas\\Mail\\Protocol\\Exception\\RuntimeException(code: 0): 5.7.0 Authentication error - 0402^M
     at /data/web/app/magento/vendor/laminas/laminas-mail/src/Protocol/AbstractProtocol.php:339)"} []
    
    Experience 
    opened by MajorKuprich 1
  • Connection Timeout with TLS on own server

    Connection Timeout with TLS on own server

    Preconditions (*)

    1. Magento 2.4.4
    2. magento-2-smtp 4.7.2
    3. Server is using Plesk with letsencrypt certificate

    Steps to reproduce (*)

    1. By setting up TLS with LOGIN method I can't send emails. Testing it times out.
    2. I tested the credentials and server configuration with Thunderbird to ensure it's the correct one, it works flawlessly in Thunderbird.
    3. It worked until today with older version of magento-2-smtp (can't recover the previous version anymore) and Magento 2.4.2
    4. The account credentials haven't changed in the mean time.

    If there is any possibility to capture another log or more information, please provide me with tutorial how to do so.

    Issue 
    opened by rarog 0
  • Custom Form email send Problem

    Custom Form email send Problem

    Hi all,

    i have installed custom form and SMTP. SMTP provider gmail SMTP test works! custom form v 4.3.0 I submitted a fom, system save it in backend but no email send. Can you help me?

    Screenshot 2022-07-19 at 11 03 07

    Issue 
    opened by GabrielePese 0
Releases(v4.7.4)
Store outgoing emails in Laravel

Record and view all sent emails Watch a video walkthrough https://www.youtube.com/watch?v=Oj_OF5n4l4k&feature=youtu.be Documentation and install instr

David Carr 203 Dec 15, 2022
The Mailer component helps sending emails

Mailer Component The Mailer component helps sending emails. Getting Started $ composer require symfony/mailer use Symfony\Component\Mailer\Transport;

Symfony 1.1k Jan 7, 2023
A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not need any email server. Powered by PHPMailer.

Gmail Email Sender by PHP A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not n

Max Base 4 Oct 29, 2022
Magento 2 Email Catcher or Email Logger Module.

Magento 2 Module Experius email catcher / - logger

Experius 49 Dec 16, 2021
Magento 2 Preview/Visit Catalog allows the store owner to quickly preview the catalog (product & category) pages from the admin panel.

Magento 2 Preview/Visit Catalog Overview Magento 2 Preview/Visit Catalog allows the store owner to quickly preview the catalog (product & category) pa

Raj KB 4 Sep 27, 2022
The Enobrev\ORM library is a small framework of classes meant to be used for simply mapping a mysql database to PHP classes, and for creating simply SQL statements using those classes.

The Enobrev\ORM library is a small framework of classes meant to be used for simply mapping a mysql database to PHP classes, and for creating simply SQL statements using those classes.

Mark Armendariz 0 Jan 7, 2022
A easy way to install your basic yii projetc, we have encrypt database password in phpfile, my class with alot funtions to help you encrypt and decrypt and our swoole server install just run ./yii swoole/start and be happy!

Yii 2 Basic Project Template with swoole and Modules Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small proj

null 3 Apr 11, 2022
Magento 2 Extension to cleanup admin menu and Store > Configuration area by arranging third party extension items.

Clean Admin Menu - Magento 2 Extension It will merge all 3rd party extension's menu items in backend's primary menu to a common menu item named "Exten

RedChamps 109 Jan 3, 2023
An eCommerce website is an online store where you can buy or sell products online. An eCommerce offers a professional online store builder that helps you launch your eCommerce business quickly and successfully.

An eCOMMERCE-SITE An eCommerce website is an online store where you can buy or sell products online. An eCommerce offers a professional online store b

UTTKARSH PARMAR 2 Aug 8, 2022
Online Food Ordering system with admin, owner, rider panel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

sumit paul 1 Jun 17, 2022
A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2

Simple Import / Export tool A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2. Table data

EcomDev B.V. 51 Dec 5, 2022
Magento 2 Blog Extension is a better blog extension for Magento 2 platform. These include all useful features of Wordpress CMS

Magento 2 Blog extension FREE Magento 2 Better Blog by Mageplaza is integrated right into the Magento backend so you can manage your blog and your e-c

Mageplaza 113 Dec 14, 2022
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Strategery 123 Nov 20, 2021
Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers

Magento 2 SMTP Extension - Gmail, G Suite, Amazon SES, Office 365, Mailgun, SendGrid, Mandrill and other SMTP servers. For Magento 2.0.x, 2.1.x, 2.2.x

MagePal :: Magento Extensions 303 Oct 7, 2022
Magento 2 SMTP - AVADA Email Marketing Integration

SMTP Extension for Magento 2 allows the owner offer a Magento 2 store to custom SMTP (Simple Mail Transfer Protocol) server which transmits email messages. Through the SMTP server, messages will be delivered directly and automatically to the chosen customers. It offers flexible configurations with 21 different SMTP servers such as Gmail, Hotmail, O2 Mail, Office365, Mail.com, Send In Blue, AOL Mail Orange, GMX, Outlook, Yahoo, Comcast, or Custom SMTP - for your own SMTP server, etc.

Yodo1117 1 Jan 25, 2022
Magento 2 Blog Extension - FREE, fully featured, powerful Blog solution for your online store!

Blog MX | Magento 2 Blog Module by Mirasvit FREE, fully featured, powerful Blog solution for your online store! Magento 2 Blog MX allows you to open a

Mirasvit 71 Dec 7, 2022
Magento 2 Blog is an extension that allows you to manage your store and blog

Magento 2 Blog Extension by Magefan Magento 2 Blog is an extension that allows you to manage your store and blog from one place without having to rely

Magefan 243 Dec 21, 2022