Download the PHP package sympress/mailer without Composer
On this page you can find all versions of the php package sympress/mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sympress/mailer
More information about sympress/mailer
Files in sympress/mailer
Package mailer
Short Description Core Symfony Mailer powered WordPress mail plugin for the SymPress kernel.
License GPL-2.0-or-later
Informations about the package mailer
SymPress Mailer
Core Symfony Mailer powered WordPress plugin for the SymPress kernel.
Installation
Install the package through Composer in a SymPress WordPress project:
The SymPress kernel discovers the SymPress\Mailer\MailerBundle bundle from
composer.json and loads mailer/mailer.php as the WordPress plugin entry.
Feature Surface
- Replaces
wp_mail()through the WordPresspre_wp_mailfilter and honours the nativewp_mail_*filters and actions (notphpmailer_init); see Hooks. - Uses
symfony/mailertransports and DSNs, including SMTP, sendmail, native mail, failover DSNs and optional Symfony provider bridges. - Supports one primary connection, From email/name policy, return-path handling and TLS settings. The settings screen shows only the fields of the selected provider and reports validation errors in the form.
- Imports an existing connection from Fluent SMTP, WP Mail SMTP, Easy WP SMTP or Post SMTP.
- Tools screen with a test email that shows the failure reason, and an SMTP connection check that logs in without sending mail.
- Console commands
wp console mailer:testandwp console mailer:status. - A Site Health test that reports whether mail delivery is enabled and validly configured.
- Skips invalid recipients and malformed headers like WordPress core instead of
losing the mail, and fires
sympress_mailer_delivery_failedwith the reason when delivery fails. - Encrypts stored credentials with AES-256-GCM, or reads them from environment variables, constants or a filter.
- Multisite support: network settings that sites inherit for delivery until they save their own, and an uninstall that respects each site's and network's choice.
- Stores settings in the shared
sympress_mailer_settingsoption. ItsMailerSettingsobject also carries the feature state of SymPress Mailer Pro, such as routing rules, tracking, logging and alerts. - Exposes interfaces such as
SymPress\Mailer\Application\MailerInterfaceandSymPress\Mailer\Message\EmailBodyProcessorInterfaceas extension points. The public surface is stable since 1.0.0; see Backward compatibility.
Pro Extension
SymPress Mailer Pro is a separate commercial extension. It builds on this
package's extension points and replaces MailerInterface and
EmailBodyProcessorInterface.
Provider Strategy
The core package depends on symfony/mailer and accepts any valid Symfony Mailer DSN. Dedicated providers such as SendGrid, Mailgun, Postmark, Brevo, Amazon SES, Gmail, Microsoft Graph, Mailjet, MailerSend, Mailtrap and Resend are enabled by installing the matching Symfony bridge listed in composer.json suggestions. Cloudflare Email, toSend, SMTP2GO, Netcore/Pepipost and Zoho ZeptoMail/TransMail use built-in API transports and need no bridge.
Assets
Admin assets are built from Resources/ts/ and Resources/css/ with Symfony
Webpack Encore into assets/, which is not committed:
The PHP asset provider loads assets/entrypoints.json, or
assets/manifest.json when only that exists, and enqueues the assets on the
SymPress Mailer admin screens. Without a build it falls back to
assets/admin.css and assets/admin.js, which the package does not ship, so
the admin screens lack their styles and scripts until the assets are built.
Documentation
- Documentation index
- Configuration
- Hooks
- Backward compatibility
- Development
- 1.0.0 release notes
Quality Checks
All versions of mailer with dependencies
ext-json Version *
symfony/console Version ^8.1
symfony/http-client Version ^8.1.12
symfony/http-foundation Version ^8.1
symfony/mailer Version ^8.1.12
symfony/mime Version ^8.1.10
sympress/assets Version ^1.2.3
sympress/kernel Version ^1.1.19
ext-openssl Version *