Do you want us to install the SMTP extension for you?

Let our technical engineers do it – check out our Installation Service.

To install Magento 2 SMTP Extension by Magepal, please use one of these installation methods.

Installation Method 1 - Installing via Composer (recommended)

  1. Open command line
  2. Using command "cd" navigate to your Magento 2 root directory
  3. Run CLI commands:
composer require magepal/magento2-gmailsmtpapp
# Authentication required (repo.magento.com)
# Get your Magento Marketplace authentication keys or use these:
# Username: 7c018006799466c681ad507e27904677
# Password: 289077c86e811661a8f7751828485d3a
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Note: if you don't want your website to be down during deployment, try these zero downtime deployment commands for Magento 2.

Installation Method 2 - Installing using an archive in app/code folder

  1. Open command line
  2. Using command "cd" navigate to your Magento 2 root directory
  3. Run CLI commands:
mkdir app/code
mkdir app/code/MagePal
cd app/code/MagePal
wget https://github.com/magepal/magento2-gmail-smtp-app/archive/refs/heads/master.zip
unzip master.zip
rm master.zip
mv magento2-gmail-smtp-app-master GmailSmtpApp
wget https://github.com/magepal/magento2-core/archive/refs/heads/master.zip
unzip master.zip
rm master.zip
mv magento2-core-master Core
cd ../../..
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy