PHPackages                             mageplaza/module-email-attachments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. mageplaza/module-email-attachments

AbandonedArchivedMagento2-module[Mail &amp; Notifications](/categories/mail)

mageplaza/module-email-attachments
==================================

Magento 2 Email Attachments Extension

4.0.2(4y ago)26140.3k—2.1%18[5 PRs](https://github.com/mageplaza/magento-2-email-attachments/pulls)1proprietaryPHP

Since Dec 3Pushed 3y ago6 watchersCompare

[ Source](https://github.com/mageplaza/magento-2-email-attachments)[ Packagist](https://packagist.org/packages/mageplaza/module-email-attachments)[ RSS](/packages/mageplaza-module-email-attachments/feed)WikiDiscussions 2.4 Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (18)Used By (1)

Magento 2 Email Attachments extension
=====================================

[](#magento-2-email-attachments-extension)

> **(Update) 2023-02-20**: This project will be marked as a paid item and no longer be maintained as free. For further updates and technical support, please follow [Magento 2 Email Attachments](http://www.mageplaza.com/magento-2-email-attachments/) for more information. We understand that this change might create inconvenience for our users. However, this is to ensure that the module will be updated with more useful features to support Magento 2 stores better. If you have any concerns or ideas about any features you would like to see, don’t hesitate to [contact us](https://www.mageplaza.com/support/) and leave a request.

Magento 2 Email Attachments extension enable the administrator to attach necessary documents such as PDF Invoice, Shipment, Credit Memo as well as add Terms and Conditions to sales emails. With this extension, customers are able to follow all information during the purchase process by checking emails from the store.

[![Latest Stable Version](https://camo.githubusercontent.com/b1f9f5041218cfb2365a6f2f3ff7376e06d9c0d5776e40818e82a73fe4040ba4/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706c617a612f6d6f64756c652d656d61696c2d6174746163686d656e74732f762f737461626c65)](https://packagist.org/packages/mageplaza/module-email-attachments)[![Total Downloads](https://camo.githubusercontent.com/6f5b4b18c9b610da29eaaa0a35198e5e28a4bc542f72371f1f88342e10c77afb/68747470733a2f2f706f7365722e707567782e6f72672f6d616765706c617a612f6d6f64756c652d656d61696c2d6174746163686d656e74732f646f776e6c6f616473)](https://packagist.org/packages/mageplaza/module-email-attachments)

1. Documentation
----------------

[](#1-documentation)

- [Installation guide](https://www.mageplaza.com/install-magento-2-extension/)
- [User guide](https://docs.mageplaza.com/email-attachments/index.html)
- [Introduction page](https://www.mageplaza.com/magento-2-email-attachments/)
- [Contribute on Github](https://github.com/mageplaza/magento-2-email-attachments)
- [Get Support](https://github.com/mageplaza/magento-2-email-attachments/issues)

2. FAQs
-------

[](#2-faqs)

**Q: I got error: Mageplaza\_Core has been already defined**

A: Read solution [here](https://github.com/mageplaza/module-core/issues/3).

**Q: Will a recipient see the recipients’ emails full list?**

A: There are 2 email sending options: CC and BCC. CC reveals the full list to all, while BCC conceals this list.

**Q: Does the Terms and Conditions attachment support other file formats rather than .doc?**

A: Absolutely yes, possible file formats are .pdf, .doc, .docx, .txt

**Q: Is this extension compatible with other extensions?**

A: Yes, Email Attachments are properly compatible with [Mageplaza SMTP](https://www.mageplaza.com/magento-2-smtp/) and [PDF Invoice](https://www.mageplaza.com/magento-2-pdf-invoice-extension/).

**Q: Will the email reach recipients successfully?**

A: It is possible that emails sent from default Magento 2 server are judged as unregistered emails, which means the reputation for these emails is pretty low and they will be classified as spam trashes. Using Mageplaza SMTP module additionally will help you increase almost 99% possibility that your emails and attachments approach customers successfully.

3. How to install Magento 2 Email Attachment
--------------------------------------------

[](#3-how-to-install-magento-2-email-attachment)

Install via composer (recommend)

Run the following command in Magento 2 root folder:

With Marketing Automation (recommend):

```
composer require mageplaza/module-email-attachments mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

Without Marketing Automation:

```
composer require mageplaza/module-email-attachments
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

4. Mageplaza Email Attachments Highlight Features
-------------------------------------------------

[](#4-mageplaza-email-attachments-highlight-features)

### Attack PDF billing documents to Invoice Email

[](#attack-pdf-billing-documents-to-invoice-email)

Email Attachments from Mageplaza supports the store owner in attaching important PDF billing documents as Invoice, Credit Memo, and Shipment to the sale emails automatically. PDF files for these billing documents are created and attached systematically to emails sent to recipients.

[![Magento 2 attach pdf to invoice email](https://camo.githubusercontent.com/cd689ef69480d0ee6d17d83cddd55f74fa763ca92f903db5917a5116ed7c2e0f/68747470733a2f2f692e696d6775722e636f6d2f306e476e6b63622e706e67)](https://camo.githubusercontent.com/cd689ef69480d0ee6d17d83cddd55f74fa763ca92f903db5917a5116ed7c2e0f/68747470733a2f2f692e696d6775722e636f6d2f306e476e6b63622e706e67)

### Enable attaching Terms and Conditions

[](#enable-attaching-terms-and-conditions)

Magento 2 Email Attachments also enables Terms and Conditions to be attached in sent emails. In another word, after a customer creates an order, an order confirmation email along with Terms and Conditions file will be sent. This process keeps customers being noticed about the store’s policy concisely and evidently.

[![Magento 2 send email with attachment](https://camo.githubusercontent.com/3e22ee4fd9c0993ba0dca4d9e05e8ddf6a74fd2c04753f3f68092432c3165158/68747470733a2f2f692e696d6775722e636f6d2f334937583662692e706e67)](https://camo.githubusercontent.com/3e22ee4fd9c0993ba0dca4d9e05e8ddf6a74fd2c04753f3f68092432c3165158/68747470733a2f2f692e696d6775722e636f6d2f334937583662692e706e67)

### Various available format types

[](#various-available-format-types)

There are 4 Terms and Conditions file types, which are .pdf, .doc, .txt and .doc. The administrator can flexibly upload appropriate types for specific purposes or specific target audiences when attaching to emails.

[![magento 2 email attachments](https://camo.githubusercontent.com/2bf01ef46ace41f199de9d9856360fd9eac2bdf1a43ef2569a50b127027bbe94/68747470733a2f2f692e696d6775722e636f6d2f487445544d64412e706e67)](https://camo.githubusercontent.com/2bf01ef46ace41f199de9d9856360fd9eac2bdf1a43ef2569a50b127027bbe94/68747470733a2f2f692e696d6775722e636f6d2f487445544d64412e706e67)

### Multi-recipient attachments

[](#multi-recipient-attachments)

The extension includes CC and BCC, which assists the store owner to send copies of the emails to additional recipients. CC addresses are transparent, meanwhile, BCC conceals the recipients list to all. The store owner can make use of this feature in specific situations and requirements.

[![magento 2 order email attachment](https://camo.githubusercontent.com/8b6da199136232bd270baef658d372263385b991b8d94134b008690b27122610/68747470733a2f2f692e696d6775722e636f6d2f44557a4c35735a2e706e673f31)](https://camo.githubusercontent.com/8b6da199136232bd270baef658d372263385b991b8d94134b008690b27122610/68747470733a2f2f692e696d6775722e636f6d2f44557a4c35735a2e706e673f31)

5. More features
----------------

[](#5-more-features)

#### Extension compatibility

[](#extension-compatibility)

**Mageplaza Email Attachments Extension** is compatible and totally works well with **[Mageplaza PDF Invoice](https://www.mageplaza.com/magento-2-pdf-invoice-extension/)** and **[SMTP](https://github.com/mageplaza/magento-2-smtp)**. These three extensions support each others and help you reach customer efficiently, say goodbye to the spam box.

6. Full Features List
---------------------

[](#6-full-features-list)

### For store owners

[](#for-store-owners)

- Enable/disable the module
- Optional email sending modes: CC/BCC
- Possible to select billing documents to attach PDF file: Invoice, Shipment, Credit Memo
- Enable/disable Terms and Conditions file attachment
- Optional billing documents to attach Terms and Conditions file: Order, Invoice, Shipment, Credit Memo
- 4 formats are possible to upload Terms and Conditions file: .pdf, .doc, .docx, .txt
- Compatible with Mageplaza PDF Invoice and SMTP.

### For customers

[](#for-customers)

- Notify stores’ policy early via email when making purchases
- Get store’s order informations such as Invoice, Shipment, Credit Memo adequately and concisely
- Possible to follow necessary purchasing information easily via emails

7. Email Attachment User Guide
------------------------------

[](#7-email-attachment-user-guide)

Login to the `Magento Admin`, navigate to `Store > Configuration > Mageplaza > Email Attachments`

[![Email Attachment User Guide](https://camo.githubusercontent.com/73718a74d82b6c43ef53bb3d451a5af7bb381a8a0a7e2f2d49257bbd82096fa1/68747470733a2f2f692e696d6775722e636f6d2f56584e776a52612e676966)](https://camo.githubusercontent.com/73718a74d82b6c43ef53bb3d451a5af7bb381a8a0a7e2f2d49257bbd82096fa1/68747470733a2f2f692e696d6775722e636f6d2f56584e776a52612e676966)

### General Configuration

[](#general-configuration)

[![Magento 2 Email Attachment General Configuration](https://camo.githubusercontent.com/51fcf0ba37d7ced68a0ff632f1058759296dce0b334d694f1c8ca24426f86c02/68747470733a2f2f692e696d6775722e636f6d2f6850724976496c2e706e67)](https://camo.githubusercontent.com/51fcf0ba37d7ced68a0ff632f1058759296dce0b334d694f1c8ca24426f86c02/68747470733a2f2f692e696d6775722e636f6d2f6850724976496c2e706e67)

- **Enable**: Select `Yes` to enable the module, and `No` to disable.
- **CC to emails**:
    - Insert email addresses to send Attachments file copy to your targeted recipients.
    - Possible to insert multiple emails, with this mode recipients will see other CC recipients list. These emails are separated by commas.
- **BCC to emails**:
    - Insert email addresses to send Attachments file copy to your targeted recipients.
    - Possible to insert multiple emails, and recipients will not see other BCC recipients list. These emails are separated by commas.
- **Enable Attach PDF**: Select `Yes` to automatically attach PDF billing documents to emails. Following fields will be displayed:
    - **Attach PDF file for**: Select the section which will contain Attach attach PDF file in emails. Terms and Conditions will be attached to the above billing document(s) as a file. Display in:
        - Invoice
        - Credit memo
        - Shipment

[![Magento 2 Email Attachment General Configuration](https://camo.githubusercontent.com/5c7c71673eb847b4f46b6becb858bb3a43176a2166607ad1767d9681d93236d6/68747470733a2f2f692e696d6775722e636f6d2f6e306732354c432e706e67)](https://camo.githubusercontent.com/5c7c71673eb847b4f46b6becb858bb3a43176a2166607ad1767d9681d93236d6/68747470733a2f2f692e696d6775722e636f6d2f6e306732354c432e706e67)

- **Enable Attach Terms and Conditions**: Select `Yes` to display Attach Terms and Conditions in emails. Right here 2 more fields can be displayed:
    - **Attach Terms and Conditions**: Select the section which will contain Attach Terms and Conditions in emails. Terms and Conditions will be attached to the above billing document(s) as a file. Display in:
        - Order
        - Invoice
        - Credit memo
        - Shipment
    - **Terms and Conditions file**:
        - Click `Choose file` button to upload PDF file for Terms and Conditions.
        - Possible file formats: .pdf, .doc, .docx, .txt.

**People also search:**

- magento 2 email attachment
- magento 2 send email with attachment
- magento 2 add attachment to email
- magento 2.3 add attachment to email
- magento 2 order email attachment
- magento 2 order attachment
- magento 2.3 email attachment
- magento 2 attach pdf to invoice email
- magento 2 order attachment extension

**Other free Magento 2 extension on Github**

- [Magento 2 SEO extension](https://github.com/mageplaza/magento-2-seo)
- [Magento 2 Google Maps](https://github.com/mageplaza/magento-2-google-maps)
- [Magento 2 Same Order Number](https://github.com/mageplaza/magento-2-same-order-number)
- [Magento 2 Advanced Reporting](https://github.com/mageplaza/magento-2-reports)
- [Magento 2 social login](https://github.com/mageplaza/magento-2-social-login)
- [Magento 2 blog module](https://github.com/mageplaza/magento-2-blog)
- [Magento 2 Layered Navigation](https://github.com/mageplaza/magento-2-ajax-layered-navigation)
- [Magento 2 security module](https://github.com/mageplaza/magento-2-security)

**Get more [Magento 2 extensions on Marketplace](https://marketplace.magento.com/partner/Mageplaza):**

- [Magento 2 Customer Approval](https://marketplace.magento.com/mageplaza-module-customer-approval.html)
- [Magento 2 Static Block](https://marketplace.magento.com/mageplaza-module-better-static-block.html)
- [Magento 2 Social Share](https://marketplace.magento.com/mageplaza-module-social-share.html)
- [Magento 2 Multi Flat Rates](https://marketplace.magento.com/mageplaza-module-multi-flat-rates.html)
- [Magento 2 Share Cart](https://marketplace.magento.com/mageplaza-module-share-cart.html)
- [Magento 2 Instagram Feed](https://marketplace.magento.com/mageplaza-module-instagram-feed.html)
- [Magento 2 Same Order Number](https://marketplace.magento.com/mageplaza-module-same-order-number.html)
- [Magento 2 Two-Factor Authentication](https://marketplace.magento.com/mageplaza-module-two-factors-authentication.html)
- [Magento 2 Quick Cart](https://marketplace.magento.com/mageplaza-module-quick-cart.html)
- [Magento 2 Order History](https://marketplace.magento.com/mageplaza-module-order-history.html)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~118 days

Recently: every ~159 days

Total

14

Last Release

1183d ago

Major Versions

1.0.6 → 4.0.02020-11-10

1.0.7 → 2.3.x-dev2021-08-16

1.0.8 → 4.0.22021-08-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2810172?v=4)[Sam Ng](/maintainers/imsamthomas)[@imsamthomas](https://github.com/imsamthomas)

---

Top Contributors

[![brianmageplaza](https://avatars.githubusercontent.com/u/7621931?v=4)](https://github.com/brianmageplaza "brianmageplaza (22 commits)")[![imsamthomas](https://avatars.githubusercontent.com/u/2810172?v=4)](https://github.com/imsamthomas "imsamthomas (9 commits)")[![datvm231](https://avatars.githubusercontent.com/u/41679361?v=4)](https://github.com/datvm231 "datvm231 (8 commits)")[![Shinichi69](https://avatars.githubusercontent.com/u/56379117?v=4)](https://github.com/Shinichi69 "Shinichi69 (7 commits)")[![datvm1](https://avatars.githubusercontent.com/u/35990443?v=4)](https://github.com/datvm1 "datvm1 (4 commits)")[![thaimageplaza](https://avatars.githubusercontent.com/u/40683842?v=4)](https://github.com/thaimageplaza "thaimageplaza (3 commits)")[![legendhorus](https://avatars.githubusercontent.com/u/31505854?v=4)](https://github.com/legendhorus "legendhorus (3 commits)")[![MpEdward](https://avatars.githubusercontent.com/u/45863800?v=4)](https://github.com/MpEdward "MpEdward (2 commits)")[![haonv01](https://avatars.githubusercontent.com/u/34636961?v=4)](https://github.com/haonv01 "haonv01 (2 commits)")[![Rainy234](https://avatars.githubusercontent.com/u/42835440?v=4)](https://github.com/Rainy234 "Rainy234 (1 commits)")

### Embed Badge

![Health badge](/badges/mageplaza-module-email-attachments/health.svg)

```
[![Health](https://phpackages.com/badges/mageplaza-module-email-attachments/health.svg)](https://phpackages.com/packages/mageplaza-module-email-attachments)
```

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[mageplaza/module-smtp

SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers

3015.9M8](/packages/mageplaza-module-smtp)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
