Download the PHP package madj2k/t3-postmaster without Composer
On this page you can find all versions of the php package madj2k/t3-postmaster. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madj2k/t3-postmaster
More information about madj2k/t3-postmaster
Files in madj2k/t3-postmaster
Package t3-postmaster
Short Description Extension sending e-mails and bulk-mailings
License GPL-2.0+
Homepage https://www.steffenkroggel.de
Informations about the package t3-postmaster
Postmaster
Extension for mass email sending.
Features
- Time-delayed sending
- Opening rate, click rate & bounce rate via BE module
- Automatic detection of hard bounces
- Personalized mass mailing
- Optimized to reduce process load and database space usage
- Fully compatible with fluid-templates
- Numerous ViewHelpers
- General API for use in own extensions
- Included List-Unsubscribe-Header
- Attachments possible
- Elaborated caching-framework for high performance
- Multi-Part E-Mails (Plaintext / HTML)
Usage in your own extension
The extension has a Mailservice and several ViewHelpers that can be used in your extension.
You can find an example for the usage of the Mailservice in the Example-Folder. There you can also find an example for the usage of the ViewHelpers in the corresponding e-mail templates.
Setup
- Include the TypoScript in your root-page
- Setup the CLI-commands in the scheduler
CLI-Commands
postmaster:send
This command is responsible for sending all of your e-mails. Parameters:
- emailsPerJob -> How many queue-jobs are to be processed during one command-call
- emailsPerInterval -> How may emails are to be sent at maximum for each queue-job
- settingsPid -> Pid to fetch TypoScript-settings from',
- sleep -> How many seconds the script should sleep after each e-mail sent
postmaster:analyseStatistics
This script analyses the statistics for sent e-mails Parameter:
- daysAfterSendingStarted -> Defines how long after sending has been started the statistics should be updated (default: 30 days)
postmaster: cleanup
Deleted old e-mails with or without the corresponding statistics Parameters:
- daysAfterSendingFinished -> Defines how many days after its sending has been finished an queueMail and their corresponding data will be deleted (default: 30 days)
- types -> Defines which types of mails the cleanup should look for (comma-separated) (Default: only type "0")
- includingStatistics -> Defines whether the statistics should be deleted too (Default: 0)
postmaster:analyseBounceMails
Processed the bounced mails and puts their response-data into the database.
NOTE: to be able to process bounce-mails you have to use a POP3/IMAP-account!
Parameters:
- username -> The username for the bounce-mail account
- password ->The password for the bounce-mail account
- host -> The host of the bounce-mail account
- port -> The port for the bounce-mail account (default: 143 - IMAP)
- usePop3 -> Use POP3-Protocol instead of IMAP (default: 0)
- tlsMode -> The connection mode for the bounce-mail account (none, tls, notls, ssl, etc.; default: notls)
- inboxName -> The name of the inbox (default: INBOX)
- deleteBefore -> If set, all mails before the given date will be deleted (format: yyyy-mm-dd)
- maxEmails -> Maximum number of emails to be processed (Default: 100)
postmaster:processBounceMails
Processes the fetched bounced-mails by their response-codes and sets the status of the corresponding recipients in the database Parameter:
- maxEmails -> Maximum number of emails to be processed (Default: 100)
ViewHelpers
cache.renderCache
If you e.g. send a newsletter to large amount of recipients there may be a lot of content in your newsletter that is the same for each recipient. In that case you should cache the content in order to get a better performance. You can also add an additional string to the cacheIdentifier e.g. in order to distinguish custom sortings and you can define non-cached markers. Example:
email.replace.redirectLinks
Replaces all link with a redirect link in order to track them for the statistics Example:
Result:
email.replace.rteLinks
If you use a text from a backend-richtext-editor you may want to replace the RTE-Links to real ones. This ViewHelper does the job for you. Works with old and new RTE-links. Example:
Result:
email.uri.action / email.uri.page / email.uri.typolink
Use this ViewHelpers to generate valid absolute links when sending emails. This is important because mails are sent via CLI.
email.image
Renders an image when sending e-mails. This is important because mails are sent via CLI.
Example:
email.pixelcounter
This ViewHelper adds a counter pixel to your email in order to be able to track whether it has been opened. Opening can be tracked by email, recipient or both.
email.plaintextLineBreaks
When defining the plaintext-part of your multi-part-emails using template-files it can be very annoying that every indent or linebreak you use for improving the readability of your template is also shown in your plaintext-part of the final email.
This ViewHelper solves that problem by removing all linebreaks and indents. To add a linebreak manually, just use \n
Example:
Result:
email.recipientSalutation
This ViewHelper generated a proper salutation for the recipients of your email.
Example:
Result:
When migrating from rkw_mailer to postmaster
Execute the following MySQL-queries BEFORE checking the database-tables and fields via backend!
All versions of t3-postmaster with dependencies
ext-json Version *
ext-fileinfo Version *
typo3/cms-core Version ~10.4.0
voku/bounce-mail-handler Version ^5.5
madj2k/t3-accelerator Version ~10.4.0 || ~11.5.0 || ~12.4.0
madj2k/t3-core-extended Version ~10.4.0 || ~11.5.0 || ~12.4.0