PHPackages                             sitegeist/neos-symfonymailer - 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. sitegeist/neos-symfonymailer

ActiveNeos-package

sitegeist/neos-symfonymailer
============================

A connector to use the symfony mailer component in Neos.Fusion.Form Actions and via PHP

v1.2.0(2y ago)123.7k↓35.2%[1 issues](https://github.com/sitegeist/Sitegeist.Neos.SymfonyMailer/issues)GPL-3.0+PHPPHP &gt;=8.1

Since Mar 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sitegeist/Sitegeist.Neos.SymfonyMailer)[ Packagist](https://packagist.org/packages/sitegeist/neos-symfonymailer)[ RSS](/packages/sitegeist-neos-symfonymailer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (10)Used By (0)

Sitegeist.Neos.SymfonyMailer
============================

[](#sitegeistneossymfonymailer)

Use the [Symfony Mailer Component](https://symfony.com/doc/current/mailer.html) from Neos CMS, especially together with Neos.Fusion.Form but it can also be used directly via PHP.

### Authors &amp; Sponsors

[](#authors--sponsors)

- Martin Ficzel -

*The development and the public releases of this package is generously sponsored by our employer .*

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

[](#installation)

Sitegeist.Neos.SymfonyMailer is available via packagist `composer require sitegeist/neos-symfonymailer`. We use semantic-versioning, so every breaking change will increase the major version number.

Neos.Fusion.Form Action `Sitegeist.Neos.SymfonyMailer:SendMailAction`
---------------------------------------------------------------------

[](#neosfusionform-action-sitegeistneossymfonymailersendmailaction)

The `Sitegeist.Neos.SymfonyMailer:SendMailAction` allows to specify an email that will be sent after the runtime form was successfully submitted.

Options:

- `senderAddress`: (`string`|`array`)
- `senderName`: (`string`)
- `recipientAddress`: (`string`|`array`)
- `recipientName`: (`string`)
- `replyToAddress`: (`string`|`array`)
- `carbonCopyAddress`: (`string`|`array`)
- `blindCarbonCopyAddress`: (`string`|`array`)
- `subject`: (`string`) The email subject
- `text`: (`string`) The plaintext content
- `html`: (`string`) The html content (if `text` and `html` are defined a multipart email is created)
- `attachments.[key]`: (string) The string is treated as a path where the attachment is read from.
- `attachments.[key]`: (`UploadedFileInterface`|`FlowResource`) The uploaded file or resource is added to the mail
- `attachments.[key]`: (`array{name:string, content:string}`) Create a file on the fly from `name` and `content`
- `attachments.[key]`: (`iterable`) If iterables (Collections) are passed the files are attached recursively
- `testMode`: (`boolean`) Show debug information instead of actually sending the email.
- `dsn`: (`string`) Use the specified mailer dsn instead of the global setting

Example:

```
form = Neos.Fusion.Form:Runtime.RuntimeForm {
    # ...
    actions {
        type = 'Sitegeist.Neos.SymfonyMailer:SendMail'
        options {
            senderAddress = ${q(node).property('mailFrom')}
            recipientAddress = ${q(node).property('mailTo')}

            subject = ${q(node).property('mailSubject')}
            text = afx`Thank you {data.firstName} {data.lastName} from {data.city}, {data.street}`
            html = afx`Thank you {data.firstName} {data.lastName}from {data.city}, {data.street}`

            attachments {
                upload = ${data.file}
                resource = "resource://Form.Test/Private/Fusion/Test.translation.csv"
                jsonFile {
                    content = ${Json.stringify(data)}
                    name = 'data.json'
                }
            }
        }
    }
}

```

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

[](#configuration)

The package allows to configure the dsn used by the mailer globally via settings. You can use the dsn specification as it is documented by symfony here:

```
Sitegeist:
  Neos:
    SymfonyMailer:
      dsn: 'sendmail://default'
```

Usage via PHP
-------------

[](#usage-via-php)

The package is built upon the package Sitegeist.Neos.SymfonyMailer.Factories which can be used directly from php. See  how this is done.

Contribution
------------

[](#contribution)

We will gladly accept contributions. Please send us pull requests.

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

5

Last Release

994d ago

PHP version history (2 changes)v1.0.0PHP &gt;8.1.0

v1.1.2PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/51e0a02d8e12b73949ec858638aa7e295e103022cc5a879f86ac8532c2c170bd?d=identicon)[sitegeist](/maintainers/sitegeist)

![](https://www.gravatar.com/avatar/829b4ccb51e8cff3c1e4b59d60cfe8d1b86f6d77fc31a6b3fc99227f432542ca?d=identicon)[mficzel](/maintainers/mficzel)

---

Top Contributors

[![mficzel](https://avatars.githubusercontent.com/u/1309380?v=4)](https://github.com/mficzel "mficzel (18 commits)")

---

Tags

formfusionneoscms

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sitegeist-neos-symfonymailer/health.svg)

```
[![Health](https://phpackages.com/badges/sitegeist-neos-symfonymailer/health.svg)](https://phpackages.com/packages/sitegeist-neos-symfonymailer)
```

###  Alternatives

[neos/neos-ui

Neos CMS UI written in React

2661.0M104](/packages/neos-neos-ui)[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

116989.0k674](/packages/neos-neos)[neos/demo

Site package for the Neos Demo Site

18181.0k6](/packages/neos-demo)[sandstorm/neostwofactorauthentication

1223.6k](/packages/sandstorm-neostwofactorauthentication)[neos/form-builder

Flow Form Framework integration into Neos CMS

19347.1k18](/packages/neos-form-builder)[flowpack/media-ui

This module allows managing media assets including pictures, videos, audio and documents.

2184.5k2](/packages/flowpack-media-ui)

PHPackages © 2026

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