PHPackages                             ip-craft/dynamic-email-template-pro - 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. ip-craft/dynamic-email-template-pro

ActiveCraft-plugin[Mail &amp; Notifications](/categories/mail)

ip-craft/dynamic-email-template-pro
===================================

You can build and manage your email templates used in your Craft website or Craft Commerce. Emails can be sent dynamically from your application, by using tokens.

2.0.0(4y ago)0100[1 issues](https://github.com/infanion-plugins/dynamic-email-template-pro/issues)proprietaryPHP

Since Aug 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/infanion-plugins/dynamic-email-template-pro)[ Packagist](https://packagist.org/packages/ip-craft/dynamic-email-template-pro)[ RSS](/packages/ip-craft-dynamic-email-template-pro/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Dynamic email template Pro plugin for Craft CMS 3.x
===================================================

[](#dynamic-email-template-pro-plugin-for-craft-cms-3x)

This plugin will have a control panel interface to create and manage your email templates and tokens in the database.

[![](resources/img/manage_email_templates.png)](resources/img/manage_email_templates.png)

[![](resources/img/test_email.png)](resources/img/test_email.png)

Features
--------

[](#features)

This module comes with the following features:

1. Create and manage tokens
2. Create and manage email templates
3. Send emails dynamically from your applications using tokens
4. Email personalization
5. Unlimited email templates and tokens
6. Define admin and user permissions
7. Maintain each email template in multiple languages
8. Cc and Bcc email configuration
9. Test email for email templates
10. A paginated overview of all the email templates and tokens with a search option

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.5.0 or later.
This plugin requires Craft CMS Redactor 2.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require ip-craft/dynamic-email-template-pro

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Dynamic email template Pro.

After installation, you can edit your email templates in the control panel located at: /admin/email-templates

[![](resources/img/manage_email_templates.png)](resources/img/manage_email_templates.png)

Steps to use the plugin after installing:
-----------------------------------------

[](#steps-to-use-the-plugin-after-installing)

1. Manage tokens

    Once you installed the plugin, you will get this tokens screen where you can manage all your tokens. To create new token, click on the ‘+ New token’ button.

[![](resources/img/manage_tokens.png)](resources/img/manage_tokens.png)

2. Create token

    This is the create token screen, here you can enter the token name and token description to brief what this token will do.

[![](resources/img/create_token.png)](resources/img/create_token.png)

3. Manage templates

    This is the email templates screen, where you can manage all your email templates. To create new template, click on ‘+ New Template’ button.

[![](resources/img/manage_email_templates.png)](resources/img/manage_email_templates.png)

4. Create template

    While adding template you can see two tabs 1. Template and 2. Configuration. In the template tab we can add the name of the template and select the tokens you need for email body composition.

[![](resources/img/create_email_template.png)](resources/img/create_email_template.png)

```
  In the configuration tab, you can configure the From mail address and From name.

```

[![](resources/img/email_template_configuration.png)](resources/img/email_template_configuration.png)

5. Add email template body

    In this plugin you can add an email body in available site languages. To add the email body go to manage templates screen, click on language eg. ‘en-US’ and add your email. Here you can define the email subject, add email body and copy/paste the selected tokens in required places.

[![](resources/img/email_template_content.png)](resources/img/email_template_content.png)

6. Send test emails

    You can send the test emails from manage email template screen to check if email template is working as expected or not.

[![](resources/img/test_email.png)](resources/img/test_email.png)

[![](resources/img/email_personalisation.png)](resources/img/email_personalisation.png)

7. User permissions

    You can define the required permissions to the user.

[![](resources/img/plugin_permissions.png)](resources/img/plugin_permissions.png)

How to use (Programatically):
-----------------------------

[](#how-to-use-programatically)

Add the use statement to your class - use ipcraft\\dynamicemailtemplatepro\\DynamicEmailTemplatePro;

Access sendMail function and pass values Template unique id, Token value, Receivers, Reply to mail, Cc, Bcc, Attachments. As shown below -

// You can find Template unique id in email templates
$templateId = ‘Template unique id’;

// Pass all the tokens and values you have added to template
$tokens = { “!token1!”:”token1 value”, “!token2!”:”token2 value”, ... };

// Add receivers email address
$receiver = \[ Receiver 1 email address, Receiver 1 email address, ... \];

// Add reply to email address
$replyTo = ‘reply to mail address’;

// Add cc email address
$cc = \[ Cc 1 email address, Cc 2 email address, ... \];

// Add bcc email address
$bcc = \[ Bcc 1 email address, Bcc 2 email address, ... \];

// Add attachment to email
$attachments = ‘Give the file path’; $emailService = EmailTemplates::$plugin-&gt;emailTemplatesService; $emailService-&gt;sendMail($templateId, $tokens, $receiver, $replyTo, $cc, $bcc, $attachments);

Example : - use ipcraft\\dynamicemailtemplatepro\\DynamicEmailTemplatePro;

$templateId = 'userRegistrationTemplate';

$tokens = \[ "!Firstname!"=&gt;"David", "!Lastname!"=&gt;"Miller", \];

$receiver = \[ '' \];

$replyTo = '';

$cc = \[ '', '' \];

$bcc = \[ '', '' \];

$attachments = '{domain name}/assets/documents/invoice/invoice.pdf';

$emailService = DynamicEmailTemplatePro::$plugin-&gt;sendMailService;

$emailService-&gt;sendMail($templateId, $tokens, $receiver, $replyTo, $cc, $bcc, $attachments);

Support
-------

[](#support)

Get in touch with us via the mail [Dynamic email template Pro Support mail](mailto:support-craftplugins@infanion.com) or by [creating a Github issue](https://github.com/infanion-plugins/dynamic-email-template-pro/issues)

Roadmap
-------

[](#roadmap)

Some things to do, and ideas for potential features:

- Resend sent email
- View sent emails
- Import and export email templates and tokens

Brought to you by [Infanion](https://www.infanion.com/)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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 ~17 days

Total

3

Last Release

1703d ago

Major Versions

1.0.1 → 2.0.02021-09-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa050edef06d8f14f8181aa97ec005503a7af2c7dac86ed07010365daa49f3c9?d=identicon)[infanion-plugins](/maintainers/infanion-plugins)

---

Tags

cmsCraftcraftcmscraft-plugindynamic email template pro

### Embed Badge

![Health badge](/badges/ip-craft-dynamic-email-template-pro/health.svg)

```
[![Health](https://phpackages.com/badges/ip-craft-dynamic-email-template-pro/health.svg)](https://phpackages.com/packages/ip-craft-dynamic-email-template-pro)
```

###  Alternatives

[craftpulse/craft-notifications

Send notifications across a variety of delivery channels, including mail and Slack. Notifications may also be stored in a database so they may be displayed in your web interface.

551.2k](/packages/craftpulse-craft-notifications)

PHPackages © 2026

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