# mailplus/mailplus-connector

> The MailPlus connector for magento 2

`composer require mailplus/mailplus-connector`

Canonical URL: https://packagento.com/mailplus/mailplus-connector

## At a glance

- **Vendor**: mailplus (https://packagento.com/mailplus.md)
- **Latest version**: 1.8.1 — released 2022-02-08
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/mailplus/mailplus-connector and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require mailplus/mailplus-connector:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

The MailPlus connector for magento 2

## README

Connect your webshop to your MailPlus account.

NOTE: This version is for Magento 2.2 or higher. A MailPlus eCom account is required to utilize the following features. 
Please contact MailPlus to setup your account.

### Installation using composer

- cd \<magento-folder\>

- composer config repositories.mailplus vcs https://github.com/SpotlerSoftware/magento2-mailplus-connector

- composer require mailplus/mailplus-connector

- bin/magento module:enable MailPlus_MailPlus

- php bin/magento setup:upgrade

- php bin/magento setup:di:compile



### Connects automatically with your webshop

- Contact details are automatically synchronized with MailPlus. So you are always ready for a new mailing.
- All products are synchronized to MailPlus. So you can simply add the products to your newsletter.
- In eCom Business & Enterprise all orders are synchronized which you can use for RFM selections.

### Email editor with product catalog

- Select a product from the catalog. MailPlus places it directly in the newsletter with your own design.
- Show the number of rating stars per product. This information is automatically synchronized with your webshop. 
- Let your recipients easily share products in your newsletter via Twitter, Facebook, Google+ and LinkedIn.
- Follow the behavior of your recipients outside your newsletter with the automatically added analytics code.

### Clear reports

- Next to the mailing statistics you will also see a report of the conversion in your store as a result of the mailing. 
- A unique feature is the possibility of comparing the response of multiple similar e-mails.

### Ready-to-use automatic campaigns (eCom Business &Enterprise)

- Abandoned cart: Send your customers an automatic message when they abandon their shopping cart.
- Win-back: Send a special offer to customers who haven't placed any order in the last 6 months.
- Birthday: Encourage sales and involvement with a personal birthday greeting.
- Product review: Easily collect valuable reviews for more conversion and better search engine visibility.
- Welcome: A registration confirmation will be sent automatically to new subscribers to your newsletter.

### Target Selections based on order history

- Find out who are your most loyal customers with a selection on the number of orders. 
- Who are the 'big spenders'? Make a selection in MailPlus based on revenue. 
- Make selections based on a product or brand. Useful for a recall or special offer.

### Project development initialization

- Run composer install
	*	This should install dependencies to ../vendor (Intellij should add these as library roots for code completions
	* 	You might need to create a app/etc/vendor_path.php file
- Run vagrant up
- Uncomment the synced folders in the vagrant file and vagrant reload (you can move the vagrantfile to a separate change set so it's not committed in git)
- Enable the plugin by running (in the vagrant box)

	magento module:enable --clear-static-content MailPlus_MailPlus
	
	magento setup:upgrade
	
	magento setup:di:compile

## Recent Versions

| Version | Released |
|---|---|
| 1.8.1 | 2022-02-08 |
| 1.8.0 | 2022-02-07 |
| 1.7.4 | 2021-02-16 |
| 1.7.3 | 2020-02-04 |
| 1.7.2 | 2020-01-28 |
| 1.6.0 | 2019-11-20 |
| 1.5.0 | 2019-11-19 |
| 1.4.7 | 2019-05-01 |
| 1.4.6 | 2018-07-24 |
| 1.3.5 | 2018-07-24 |

Showing 10 of 25 versions. Full release history on https://packagento.com/mailplus/mailplus-connector.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | >=100.1.0 |
| magento/magento-composer-installer | * |
| magento/module-newsletter | >=100.0 |
| magento/module-quote | >=101.0 |
| magento/module-sales | >=101.0 |
| magento/module-webapi | >=100.0 |

## Quality

Latest release (1.8.1) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| 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. Never affect the Compatibility verdict — 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.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 141 | 2 errors, 139 warnings (ruleset: Magento2) — 77 auto-fixable with phpcbf |
| PHPMD | Warning | 5 | 5 rule violations (UnusedFormalParameter:3, MissingImport:1, ExcessiveMethodLength:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 7 | valid; 7 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 23 | 23 | – | – |
| 2.4.8 | – | 23 | 23 | – |
| 2.4.9 | – | – | 23 | 23 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| 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

| 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

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["mailplus/mailplus-connector"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

mailplus is a Magento 2 vendor on Packagento. See https://packagento.com/mailplus.md for their full catalogue.

