magento2:extensions:magento-2-smtp-extension
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| magento2:extensions:magento-2-smtp-extension [2026/03/06 18:57] – created - external edit 127.0.0.1 | magento2:extensions:magento-2-smtp-extension [2026/04/08 22:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Magento 2 SMTP Extension User Guide for Magento 2 ====== | + | ====== Magento 2 SMTP Extension |
| ===== Extension context ===== | ===== Extension context ===== | ||
| - | This is a Toweringmedia Magento 2 extension guide generated from the Magento | + | This document provides |
| - | ===== Product page ===== | + | ===== Overview |
| - | * [[https:// | + | The Toweringmedia SMTP Extension for Magento 2 offers a secure, reliable, and fully configurable email delivery solution. It replaces Magento’s default mail transport system with a robust |
| - | ===== Overview ===== | + | This extension ensures that all transactional emails—such as order confirmations, |
| - | The Toweringmedia SMTP Extension for Magento 2 provides | + | It supports |
| + | |||
| + | The extension | ||
| + | |||
| + | ===== Key features ===== | ||
| + | |||
| + | * Improved email deliverability and reduced spam issues | ||
| + | * Reliable transactional email flow | ||
| + | * Seamless integration with major email service providers | ||
| + | * Detailed email logging and debugging | ||
| + | * Support | ||
| + | * Easy configuration from Magento Admin panel | ||
| ===== What this extension does ===== | ===== What this extension does ===== | ||
| - | * Higher | + | * Enhances |
| - | * More reliable order/notification | + | * Ensures |
| - | * Direct provider | + | * Allows direct |
| - | * Logging | + | * Provides logging for tracking sent emails |
| - | * Security compliance for modern | + | * Supports |
| ===== Installation ===== | ===== Installation ===== | ||
| - | Install and validate | + | Please refer to the installation guide in the following article [[https:// |
| - | <code bash> | + | ===== Setup SMTP extension with Gmail API ===== |
| - | cd / | + | |
| - | # Install from your licensed package source | + | |
| - | php bin/magento setup: | + | |
| - | php bin/magento setup: | + | |
| - | php bin/magento setup: | + | |
| - | php bin/magento cache: | + | |
| - | </ | + | |
| - | ===== Configuration ===== | + | This section provides a step-by-step guide to configure the Magento 2 SMTP Extension using Gmail API with OAuth 2.0 authentication. |
| - | Configure | + | ==== Step 1: Create a project in Google Cloud Console ==== |
| + | |||
| + | - Log in to your Google Cloud Console | ||
| + | - Click on the project selector and choose **New Project** | ||
| + | - Enter a project name (e.g., SMTP Connector for Magento) | ||
| + | - Click **Create** | ||
| + | - Select the created project from the top navigation | ||
| + | {{: | ||
| + | |||
| + | ==== Step 2: Enable Gmail API ==== | ||
| + | |||
| + | - Open the navigation menu | ||
| + | - Go to **APIs & Services → Enabled APIs & Services** | ||
| + | {{: | ||
| + | - Click **Enable APIs and Services** | ||
| + | - Search for **Gmail API** | ||
| + | - Select and click **Enable** | ||
| + | {{: | ||
| + | {{: | ||
| + | |||
| + | ==== Step 3: Configure | ||
| + | |||
| + | - Navigate to **APIs & Services → Credentials** | ||
| + | {{:: | ||
| + | {{: | ||
| + | {{: | ||
| + | - Click **Configure Consent Screen** | ||
| + | - Click **Get Started** | ||
| + | {{: | ||
| + | {{: | ||
| + | - Enter application name (e.g., SMTP) | ||
| + | - Provide support email | ||
| + | - Choose **Internal** as audience | ||
| + | - Save configuration | ||
| + | {{: | ||
| + | |||
| + | ==== Step 4: Create OAuth client credentials ==== | ||
| + | |||
| + | - Go to **Credentials** | ||
| + | - Click **Create Credentials → OAuth Client ID** | ||
| + | {{: | ||
| + | - Select **Web Application** | ||
| + | - Enter a name (e.g., SMTP) | ||
| + | {{: | ||
| + | - Add Authorized Redirect URI from Magento SMTP settings | ||
| + | {{: | ||
| + | - Click **Create** | ||
| + | - Copy Client ID and Client Secret | ||
| + | {{: | ||
| + | |||
| + | ==== Step 5: Configure API scopes ==== | ||
| + | |||
| + | - Navigate to **Data Access** | ||
| + | - Click **Add or Remove Scopes** | ||
| + | {{: | ||
| + | - Set rows to 100 | ||
| + | - Select required scopes | ||
| + | {{: | ||
| + | - Click **Update** | ||
| + | - Click **Save** | ||
| + | {{: | ||
| + | |||
| + | ==== Step 6: Configure SMTP settings | ||
| + | |||
| + | - Log in to Magento Admin | ||
| + | - Navigate to SMTP settings | ||
| + | - Set SMTP Provider to **Gmail** | ||
| + | - Enter Gmail email address | ||
| + | - Set Authentication Method to **OAuth 2.0** | ||
| + | - Enter Client ID and Client Secret | ||
| + | - Save configuration and flush cache | ||
| + | {{: | ||
| + | |||
| + | ==== Step 7: Authorize Gmail account ==== | ||
| + | |||
| + | - Scroll to SMTP configuration section | ||
| + | - Click **Authorize with Google** | ||
| + | - Complete authentication in popup | ||
| + | - Verify status shows: | ||
| + | * OAuth is configured and authorized | ||
| + | * Authorization Status: Authorized | ||
| + | {{: | ||
| + | |||
| + | ==== Step 8: Verify email functionality ==== | ||
| + | |||
| + | - Enter test email address | ||
| + | - Send test email | ||
| + | - Verify email delivery | ||
| + | |||
| + | If the email is received, SMTP configuration is successfully completed. | ||
| ===== Validation checklist ===== | ===== Validation checklist ===== | ||
| Line 55: | Line 148: | ||
| * [[magento2: | * [[magento2: | ||
| * [[start|Global docs home]] | * [[start|Global docs home]] | ||
| - | |||
magento2/extensions/magento-2-smtp-extension.1772823463.txt.gz · Last modified: by 127.0.0.1
