This extension allows you to configure Magento 2 to send all emails using Flowmailer including raw data.
See flowmailer.com for more information.
| Module version | Magento / Adobe Commerce | PHP |
|---|---|---|
^2.2 |
2.4.7, 2.4.8 (+ patches) | 8.1, 8.2, 8.3, 8.4 |
^2.1 |
2.4.4 – 2.4.8 | 7.4, 8.0, 8.1, 8.2 |
^1.0 |
2.3, 2.4 (< 2.4.4) | 7.3, 7.4, 8.0 |
Magento 2.4.8 removed the laminas/laminas-mail dependency. Module versions < 2.2 therefore
fail at runtime on 2.4.8 with Class "Laminas\Mail\Message" not found. Upgrade to ^2.2.
A normal installation would be something equal to:
composer require flowmailer/flowmailer-php-sdk flowmailer/m2connector symfony/http-client nyholm/psr7Choose your preferred flowmailer-php-sdk implementations on packagist, based on your minimum requirement for PHP.
Choose your preferred client implementations on packagist.
See docs.php-http.org for details on the HttpClient discovery.
Enable the module:
bin/magento module:enable Flowmailer_M2Connector --clear-static-content
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento module:status Flowmailer_M2Connector
bin/magento cache:cleanObtain credentials from Flowmailer credentials wizard
Go to http://your-magento-store/admin and login with your admin credentials.
Navigate to Stores > Configuration > Flowmailer > Connector and add API Credentials.
The 2.2 release removes the hard dependency on laminas/laminas-mail, which was
removed from Magento core in 2.4.8. The plugin now consumes Magento's own
Magento\Framework\Mail\MessageInterface directly. Existing template-variable
handling and admin configuration are unchanged.
After upgrade run:
composer update flowmailer/m2connector flowmailer/flowmailer-php-sdk
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flushStatic analysis uses the official PHPStan bridge for Magento.
composer install
composer analyseSee phpstan.neon for the configured rule level.