Download the PHP package blueways/bw-email without Composer
On this page you can find all versions of the php package blueways/bw-email. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blueways/bw-email
More information about blueways/bw-email
Files in blueways/bw-email
Package bw-email
Short Description TYPO3 extension for sending responsive email templates
License GPL-2.0-or-later
Informations about the package bw-email
Responsive email extension for TYPO3
This is the offical documentation of the bw_email extension.
About
You can use this extension to send whole pages or any other element that has a TCA definition.
The templates are parsed with Zurb Foundation Inky. You can use the Inky markup in your fluid templates to generate the table markup needed for most mail clients.
Installation
- Require via composer `
- Activate in Extension Manager
- Include static TypoScript template
Templates
The extensions offers some default templates located in ÈXT:bw_email/Resources/Private/Templates
. You can override
the templates by setting the paths via constants:
Default mail settings
To register new templates, use TypoScript setup:
Data sources
Right from the start you can send single Emails to an email address from inside the email wizard. If you like to send emails to multiple people, you can create a Email data source entry and select one of the following build-in connectors:
- fe_users
- CSV file (upcoming)
Usage in other extensions
You can use the Blueways\View\EmailView
in your own extension to render responsive email HTML with Inky syntax. It
works just like the .
Extend
You can use the DataSource-Provider or create your own ContactProvider.
DataSource model
If you like to configure your source via Backend, you can use the existing DataSource model. Create your own Model by extending the Model and implement the method.
Don't forget to register the inheritance via typoscript:
ContactProvider service
If you like to use external data, you can write your own ContactProvider. Just extend from and register the class via Hook:
Known issues
- CSS files need to be hard coded in email template (see Default.html)
- Inline RTE links are wrapped with an additional ` that causes line breaks
- Internal links may be broken
Usage in other content elements
It is possible to use the email wizard in other content elements like Textmedia or News: Just add an element with the TCA-RenderType "sendMailButton". Here is an example of how to add a Send Mail button to tt_content elements:
The current record will be available in the Fluid Template as .
To inject additional elements or override default settings you can use the TypoScript setting.
With the setting you can insert records to the email template. In the example above, you can display the latest news records with .
Todo
- Better translations
- Better default template organisation
- Absolute URL handling for new v9
- Move provider settings to TypoScript
Improvement ideas
- embed images in message
- separate backend module
- send mail log
- sass compiler for Foundation for Email
All versions of bw-email with dependencies
maikschneider/inky Version 1.3.6.*
ext-json Version *