Download the PHP package lettermint/lettermint-magento2 without Composer
On this page you can find all versions of the php package lettermint/lettermint-magento2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lettermint/lettermint-magento2
More information about lettermint/lettermint-magento2
Files in lettermint/lettermint-magento2
Package lettermint-magento2
Short Description Lettermint Email Integration for Magento 2
License MIT
Informations about the package lettermint-magento2
Lettermint Magento 2 Module
Integrate Lettermint email service with your Magento 2 store for reliable transactional and marketing email delivery.
Requirements
- Magento Open Source or Adobe Commerce 2.4.6 or higher
- PHP 8.2 or higher
- Composer
The module sends email with the Lettermint PHP SDK 3.x, which needs Guzzle 7.15.2 or higher. Composer installs it for you.
Installation
Install the module via Composer:
Upgrading from 0.1.x
This version uses lettermint/lettermint-php 3.x instead of 1.x. If your store has an older Guzzle locked, let Composer update the dependencies too:
Your configuration is kept: the admin settings and their config paths are unchanged.
Configuration
- Navigate to Stores → Configuration → Lettermint → Configuration
- Enable the module
- Enter your Lettermint project sending token
- Configure sender information and route IDs
- Save configuration
Configuration Options
- API Token: Your Lettermint project sending token, starting with
lm_(encrypted storage). Team API tokens cannot send email. - Transactional Route: Route ID for transactional emails (default:
outgoing) - Newsletter Route: Route ID for newsletter/marketing emails (default:
broadcast) - Sender Configuration: Default sender name and email address
Features
- Transactional Emails: Order confirmations, password resets, etc. → Configurable route (default:
outgoing) - Newsletter Emails: Marketing campaigns, newsletters → Configurable route (default:
broadcast)
Email Flow
When the module is enabled, a plugin on Magento's transport factory gives every email its own Lettermint transport. The transport sends the email through the Lettermint API in one request. Emails sent from the Magento Newsletter module use the newsletter route; all other emails use the transactional route.
If Lettermint rejects an email or cannot be reached within 15 seconds, the error is logged to Magento's log and Magento receives a MailException. The module does not retry.
Security
- API tokens are encrypted in Magento's configuration storage
- Input validation and sanitization
- Secure API communication via HTTPS
- API tokens are never logged
Development
The unit tests install magento/framework from the public Mage-OS mirror, so no Magento Marketplace credentials are needed. They never call the Lettermint API.
To test against a specific Magento line, constrain the framework version, for example composer update --ignore-platform-req='ext-*' --with 'magento/framework:103.0.6.*' for Magento 2.4.6. CI runs Magento 2.4.6 to 2.4.9 on PHP 8.2 to 8.5.
License
The MIT License (MIT). Please see License File for more information.
Credits
- Bjarn Bronsveld
- All Contributors