PHPackages                             in2code/groupmailer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. in2code/groupmailer

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

in2code/groupmailer
===================

1.0.1(5y ago)021GPL-2.0-or-laterPHPPHP &gt;=7.2.0

Since Jun 3Pushed 5y ago2 watchersCompare

[ Source](https://github.com/in2code-de/groupmailer)[ Packagist](https://packagist.org/packages/in2code/groupmailer)[ RSS](/packages/in2code-groupmailer/feed)WikiDiscussions develop Synced 1w ago

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

TYPO3 Extension `groupmailer`
=============================

[](#typo3-extension-groupmailer)

Usage
-----

[](#usage)

### Generate Mailing via MailService

[](#generate-mailing-via-mailservice)

#### Parameter for generateMailing:

[](#parameter-for-generatemailing)

- $backendGroups \[array\]: an array with backend groups
- $subject \[string\]: the email subject. The max length is currently 255. This can be increased via the TCA
- $bodytext \[string\]: the email content
- optional $senderEmail \[string\]: the sender email. If not defined the fallback `$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress']` is used
- optional $senderName \[string\]: the sender name. If not defined the fallback `$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName']` is used
- optional $mailFormat \[string\]: default `FluidEmail::FORMAT_BOTH` valid options are `FluidEmail::FORMAT_BOTH`, `FluidEmail::FORMAT_HTML` or `FluidEmail::FORMAT_PLAIN`
- optional $context \[string\]: default `Context::FRONTEND` valid options are `Context::FRONTEND`, `Context::BACKEND`
- optional $workflowState \[int\]: default `Workflow::STATE_DRAFT` valid options are `Workflow::STATE_DRAFT`, `Workflow::STATE_REVIEW`, `Workflow::STATE_APPROVED`, `Workflow::STATE_REJECTED`
- optional $attachments \[array\]: an array with SysFile Objects

#### How to use the mailService

[](#how-to-use-the-mailservice)

```
        $beGroupRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Domain\Repository\BackendUserGroupRepository::class);
        $beGroups = [
            $beGroupRepository->findByUid(2),
            $beGroupRepository->findByUid(4)
        ];

        $fileRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Resource\FileRepository::class);
        $attachments = [
            $fileRepository->findByUid(2)
        ];

        $mailService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\In2code\Groupmailer\Service\MailService::class);
        $mailService->generateMailing(
            $beGroups,
            'Betreff',
            'Inhalt',
            'sender@in2code.de',
            'Sender Name',
            \TYPO3\CMS\Core\Mail\FluidEmail::FORMAT_PLAIN,
            \In2code\Groupmailer\Context\Context::BACKEND,
            \In2code\Groupmailer\Workflow\Workflow::STATE_DRAFT,
            $attachments
        );
```

### Generate the mail queue

[](#generate-the-mail-queue)

The mail queue can be generated via the `groupmailer:generateMailQueue` command.

```
./vendor/bin/typo3 groupmailer:generateMailQueue

```

This can be automated via an Scheduler task.

### Process the mail queue (sends the actual mails)

[](#process-the-mail-queue-sends-the-actual-mails)

The mail queue can be generated via the `groupmailer:processMailQueue` command.

```
./vendor/bin/typo3 groupmailer:processMailQueue

```

This can be automated via an Scheduler task.

Configuration
-------------

[](#configuration)

This extension can be configured in the "Extension Configuration" (Backend Module 'Settings' -&gt; "Extension Configuration")

### Configuration options

[](#configuration-options)

- Storage Pid \[integer\]: Sets the PID on which the records are stored
- Emails to sent per execution \[integer\]: Defines how many mails should be sent on one execution of the process mail queue command
- Recursion Level \[integer\]: Defines the recursion level for the given backend user groups in a mailing

### Workflow

[](#workflow)

- DRAFT: mailings with this status will be ignored if mail queue entries will be generated
- REVIEW: mailings with this status will be ignored if mail queue entries will be generated
- REJECTED: mailings with this status will be moved into locked mailings and no mail queue entries will be generated
- APPROVED: queue entries will be generated on the next execution of the generateMailQueue command

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

2

Last Release

2170d ago

### Community

Maintainers

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

---

Top Contributors

[![sebastianstein](https://avatars.githubusercontent.com/u/25500519?v=4)](https://github.com/sebastianstein "sebastianstein (45 commits)")

### Embed Badge

![Health badge](/badges/in2code-groupmailer/health.svg)

```
[![Health](https://phpackages.com/badges/in2code-groupmailer/health.svg)](https://phpackages.com/packages/in2code-groupmailer)
```

###  Alternatives

[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[fluidtypo3/flux

The flux package from FluidTYPO3

152982.2k20](/packages/fluidtypo3-flux)[friendsoftypo3/content-blocks

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

96374.6k23](/packages/friendsoftypo3-content-blocks)[derhansen/sf_event_mgt

Configurable event management and registration extension based on ExtBase and Fluid

64313.9k6](/packages/derhansen-sf-event-mgt)[typo3/cms-t3editor

TYPO3 CMS T3Editor - JavaScript-driven editor with syntax highlighting and code completion. Based on CodeMirror.

115.9M50](/packages/typo3-cms-t3editor)[wazum/sluggi

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

39488.5k](/packages/wazum-sluggi)

PHPackages © 2026

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