rulecom / rulemailer2

rulecom/rulemailer2

Magento 2 module for integration with Rule

  • Rule Communications
magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass MIT

Are you the maintainer of rulecom?

Packagento pulls rulecom's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Rule logo

Magento 2 Integration (Rulemailer2)

Magento 2 extension for Rule. This extension allows Magento to send subscriber data to a customer's Rule account. Data includes: customer (email, first name, last name, date of birth and gender), cart info (product list, quantity, total price), and orders (product list, shipping address, product categories, total price). Also providing optional functionality for sending emails from Magento using the RULE Transactional API.

Note: Tested up to Magento 2.4.7

Contents

Installation

Install via composer

Install like usual per Adobe Commerce instructions.

In the terminal cd to the root of your Magento project. Then run:

bin/magento maintenance:enable

composer require rulecom/rulemailer2

bin/magento module:enable Rule_RuleMailer --clear-static-content

bin/magento setup:upgrade

bin/magento setup:di:compile

bin/magento cache:clean

bin/magento maintenance:disable

Configuration

In the admin part of your Magento app select Stores/Configuration section. Then select RULE/Rulemailer from the left menu.
In the form enter your API key from the RULE application. If 'Use transactional' field set to 'Yes' all mail from the your Magento app are going to be sent via RULE Transactional API. Be sure to have a valid email set in "Store Email Adresses" in the Configuration.

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
1.4.6 stable Fail Magento 2.4.7-2.4.9 Details 2026-01-30 08:36:52
1.4.5 stable Not tested Not yet tested Details 2025-09-03 09:18:34
1.4.4 stable Not tested Not yet tested Details 2025-01-10 15:56:06
1.4.3 stable Not tested Not yet tested Details 2024-12-04 08:38:59
1.4.2 stable Not tested Not yet tested Details 2024-10-16 07:11:49
1.4.1 stable Not tested Not yet tested Details 2023-11-28 13:36:44
1.4.0 stable Not tested Not yet tested Details 2022-11-16 13:16:06
1.3.1 stable Not tested Not yet tested Details 2022-08-03 14:03:34
1.3.0 stable Not tested Not yet tested Details 2022-05-16 08:59:13
1.2.3 stable Not tested Not yet tested Details 2022-03-10 13:37:07
1.2.2 stable Not tested Not yet tested Details 2021-11-08 16:24:43
1.2.1 stable Not tested Not yet tested Details 2021-02-04 14:40:40
1.2.0 stable Not tested Not yet tested Details 2020-12-15 09:38:26
1.1.0 stable Not tested Not yet tested Details 2019-08-29 12:16:34
1.0.9 stable Not tested Not yet tested Details 2019-01-30 12:32:39
1.0.8 stable Not tested Not yet tested Details 2018-11-18 22:25:13
1.0.7 stable Not tested Not yet tested Details 2018-05-22 11:35:49
1.0.6 stable Not tested Not yet tested Details 2017-12-07 14:38:01
1.0.5 stable Not tested Not yet tested Details 2017-04-26 13:35:11
1.0.4 stable Not tested Not yet tested Details 2017-04-21 14:01:17
1.0.3 stable Not tested Not yet tested Details 2017-04-20 09:15:02
1.0.2 stable Not tested Not yet tested Details 2016-09-29 15:50:32
1.0.1 stable Not tested Not yet tested Details 2016-08-30 14:33:08
1.0.0 stable Not tested Not yet tested Details 2016-08-25 16:04:10

Requires 1

Package Constraint
rulecom/api-wrapper ~1.0

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 45 45 warnings (ruleset: Magento2) — 28 auto-fixable with phpcbf
PHPMD Pass 0
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 57 57
2.4.8 57 57
2.4.9 57 57

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
MIT
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.