In Mailster you can have multiple autoresponders to trigger your campaigns automatically. Some of them have a date or timestamp to get triggered within a certain timeframe. To not go way back to the beginning of time (and to accidentally sent to all your subscribers) Mailster uses a “Grace Period”.
Extend Mailster even further by coding. This section is for Developers and often requires PHP knowledge.
Encode Tags for Links
If you are using Tags in Mailster you may like to use them in your links as well. Since links must be encoded the content of your tags must be encoded as well.
Dynamic Custom Post Types
Mailster has a powerful tag engine built in where you can dynamically populate your newsletter campaigns. Dynamic Custom Post Types work similarly to regular post types but are not stored in your database but generate content on demand.
Adding Content to your Forms
Mailster forms can be defined and customized via the forms page. You can add additional content via some coding by using the mailster_form filter hook.
Mailster Subscriber Query
Mailster offers an easy way to get your subscribers via segmentation. If you like to get more out of this via some custom coding you can use the Subscriber Query.
Mail Headers in Mailster
Each mail sent with mailster is technically a multi-part message in MIME format. It contains three sections:
Validating Custom Fields
Mailster gives you the option to define custom fields where you can store additional information of your subscribers. Sometimes you need to verify these values with some custom code.
Get the current subscriber
Sometimes you need the current subscriber on your website. Mailster has some built-in methods to get this information.
Keep certain tags in your campaigns
By default, Mailster will remove all unused tags in the final version of your campaign. To prevent that you can whitelist certain tags with some custom code.
Moving subscribers to different lists
It’s easy to assign subscribers to the list with the UI of Mailster. Just select the subscribers you like to assign and select the option from the drop-down. To get more specific you need to add some custom code to your website.
Changing text snippets
Mailster has some internal texts which are used at various locations. By default, you can change them on the Text tab in the settings but if you like a more flexible approach you can simply change them by a hook via the mailster_text filter.
You can quickly add subscribers in Mailster with some line of code.
Mailster for Developers
You can check for Mailster with To run your code you should wrap it in the Mailster Closure The Mailster Closure ensures your code gets only executed if Mailster is completely loaded. If Mailster is not installed or activated it will simply be ignored. You can have multiple Mailster Closures in your plugin. Adding new […]
Version 3.3.4 2023-06-01 fixed: MySQL error on Autoresponder which uses "has received but not opened" or "has received and not clicked" condition. fixed: RTL CSS issue on Autoresponder options sidebar fixed: RTL CSS issue in admin bar and settings Version 3.3.3 2023-05-04 added: ‘mailster_admin_header’ hook added: missing added argument added: if verification of subscribers fails […]