Mailster allows multiple autoresponders to automate campaigns, utilizing a default one-week “Grace Period” to prevent accidental sends. Users can easily adjust this period to one month or disable it entirely through simple filters, ensuring targeted communication with subscribers.
Category: Developer
Extend Mailster even further by coding. This section is for Developers and often requires PHP knowledge.
Encode Tags for Links
When using Mailster tags in links, remember to encode them with PHP’s rawurlencode. Prepend an exclamation mark (!) to the tag name (e.g., {!mytag}) for proper encoding. Avoid this method for tags containing full links to ensure functionality.
Dynamic Custom Post Types
Mailster’s dynamic tag engine allows you to create custom post types that generate content on demand, enabling endless possibilities for newsletter personalization. You can display various content like popular posts or cart items using dynamic tags, enhancing user engagement in your campaigns.
Adding Content to your Forms
This article outlines how to customize Legacy Forms using Mailster. You can enhance forms with additional content by employing the mailster_form filter hook. Target specific forms like Unsubscribe or Profile with dedicated hooks. Explore more about integrating custom code and maximizing form functionality on your site.
Mailster Subscriber Query
Mailster simplifies subscriber segmentation with its Subscriber Query feature, allowing custom coding for tailored results. Users can query subscribers based on various parameters, including conditions, fields, and search terms, enabling precise targeting and management of subscriber lists efficiently.
Mail Headers in Mailster
Mailster sends emails as multi-part MIME messages with headers that identify the sender and campaign. Key headers include version numbers, unique hashes for subscribers, and unsubscribe links, essential for compliance with email providers. Custom headers can also be added for personalization, enhancing user engagement.
Validating Custom Fields
Mailster allows you to create custom fields for subscriber information, such as a birthday field. By adding custom code, you can verify that subscribers are over 18, preventing those underage from signing up. The code checks the provided birthdate and displays an error message if the user is younger than 18.
Get the current subscriber
Mailster provides methods to retrieve the current subscriber information and their ID. It sets a cookie with the subscriber’s hash upon link clicks, expiring in 60 minutes. You can extend this expiration to three hours using a simple filter.
Keep certain tags in your campaigns
Mailster automatically removes unused tags from your campaign, but you can whitelist specific ones using the ‘mailster_keep_tags’ filter. Add your desired tags, like {my-special-tag} and {my-other-tag}, to ensure they remain in your campaign with variations.
Moving subscribers to different lists
Easily manage subscriber lists in Mailster with simple UI options or custom code. You can assign or unassign subscribers based on actions like clicking a link or opening a campaign, using functions like `assign_lists` and `unassign_lists`. Tailor subscriber movements to enhance engagement effectively.
Changing text snippets
Mailster lets you customize internal text snippets easily. You can adjust them in the Text tab or use the `mailster_text` filter for more flexibility. Key snippets include confirmation messages, success notifications, and error alerts. Just add a filter to change specific texts programmatically!
Add Subscribers
Easily manage subscribers in Mailster using simple code. Add a single email or detailed subscriber info, update existing subscribers, assign them to lists, or remove them effortlessly. Each action returns relevant IDs or status, facilitating efficient email list management. Explore more for developer insights.
Mailster for Developers
Mailster is built for developers, featuring hooks and filters for customization. You can add subscribers easily, manage lists, and even unsubscribe users with simple functions. Use the Mailster Closure to ensure your code runs smoothly, only if Mailster is active. Get started with seamless integration today!
Changelog
Version 4.1.10 enhances the capabilities and permissions system, improves error handling in form blocks, and refines homepage editing controls. Previous updates addressed various bugs and added features like new workflow capabilities and improved translations, ensuring a more robust user experience and streamlined functionality.