PHPackages                             undkonsorten/html-mail-utility - 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. undkonsorten/html-mail-utility

ActiveTypo3-cms-extension[Mail &amp; Notifications](/categories/mail)

undkonsorten/html-mail-utility
==============================

Mail Utility: css inlining and plaintext

2.1.1(2w ago)01101GPL-2.0+PHPPHP ^8.1

Since Mar 14Pushed 1y ago4 watchersCompare

[ Source](https://github.com/undkonsorten/html_mail_utility)[ Packagist](https://packagist.org/packages/undkonsorten/html-mail-utility)[ RSS](/packages/undkonsorten-html-mail-utility/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (12)Versions (8)Used By (1)

HTML mail utility
=================

[](#html-mail-utility)

What does it do?
----------------

[](#what-does-it-do)

Extension *html\_mail\_utility* bundles a couple of third-party libraries which are needed for a HTML newsletter campaign. Each of them ship with a Fluid view helper or a Class suitable for `USER` or `USER_INT`.

- [Inky](http://foundation.zurb.com/emails/docs/inky.html) is a set of tags like `` or `` that will be transformed to the beloved stone-age `` markup. This extension makes use of the PHP implementation [hampe/inky](https://github.com/thampe/inky)
- CSS inlining is another common task for newsletter mailings. [tijsverkoyen/css-to-inline-styles](https://github.com/tijsverkoyen/CssToInlineStyles)is integrated for this purpose.
- For html and plaintext multipart messages, [html2text/html2text](https://github.com/mtibben/html2text) is bundled so you can convert HTML to plaintext at the very end of your newsletter build process.

All three dependencies are decoupled by interfaces. Concrete implementations can thus be switched by configuration or at runtime.

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

[](#installation)

### Composer install

[](#composer-install)

Just require the extension. Dependencies will be installed automatically.

```
composer require undkonsorten/html-mail-utility

```

### Non-Composer mode

[](#non-composer-mode)

Using without composer ist not supported!

Fluid ViewHelpers
-----------------

[](#fluid-viewhelpers)

To start using the ViewHelpers, don‘t forget to include the corresponding namespace in your template files:

```

```

### Inky view helper

[](#inky-view-helper)

```

```

Parameters:

- **markup** (string, optional): You can pass markup in this attribute. Leave unset to use tag content instead.
- **gridColums** (int, optional): Set this to change the underlying grid system column calculations are based on. Defaults to 12.
- **aliases** (array, optional): Aliases allow you to define aliases for inky tags, e.g. write `` instead of `` in the example above.

Output:

Markup with inky tags transformed to table legacy.

#### Beware of uncached actions!!!

[](#beware-of-uncached-actions)

Uncached Action will not be rendered with Inky. The transforming won't work and the complete output of this action won't be shown! You have no output of uncached action!

### CSS Inline view helper

[](#css-inline-view-helper)

```

```

Parameters:

- **html** (string, optional): You can pass HTML markup in this attribute. Leave unset to use tag content instead.
- **css** (string, optional): Put additional CSS styles here.
- **cssFile** (string, optional): You can specify a CSS file for inlining. You can use `EXT:` syntax.

Output:

HTML markup with inline `style` attributes according to matching CSS rules.

### Plain text view helper

[](#plain-text-view-helper)

```

```

- **html** (string, optional): You can pass HTML markup in this attribute. Leave unset to use tag content instead.
- **baseUrl** (string, optional): If set, this value will be prepended to all on-site links to make them accessible from plain text. Not needed if your markup ships with absolute links.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance66

Regular maintenance activity

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

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

Total

5

Last Release

20d ago

Major Versions

1.0.0 → 2.0.02024-10-11

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.1

2.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/a192083f4fc05fe8020592c9b5222677998fcf0e779df21ecb51016d8fd45f98?d=identicon)[undkonsorten](/maintainers/undkonsorten)

---

Top Contributors

[![kanow](https://avatars.githubusercontent.com/u/16071530?v=4)](https://github.com/kanow "kanow (6 commits)")[![cumuru](https://avatars.githubusercontent.com/u/12487311?v=4)](https://github.com/cumuru "cumuru (1 commits)")

### Embed Badge

![Health badge](/badges/undkonsorten-html-mail-utility/health.svg)

```
[![Health](https://phpackages.com/badges/undkonsorten-html-mail-utility/health.svg)](https://phpackages.com/packages/undkonsorten-html-mail-utility)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[illuminate/mail

The Illuminate Mail package.

5910.7M574](/packages/illuminate-mail)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k70](/packages/friendsoftypo3-content-blocks)[verbb/formie

The most user-friendly forms plugin for Craft.

101400.6k78](/packages/verbb-formie)[putyourlightson/craft-campaign

Send and manage email campaigns, contacts and mailing lists.

6538.0k2](/packages/putyourlightson-craft-campaign)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40543.5k](/packages/wazum-sluggi)

PHPackages © 2026

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