All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Convert newlines to line breaks when forcing HTML
- Fix warning when logging sends with a null To address
- Support adding metadata to messages
- Update Status tab to use new Postmark API.
- Tested up to WordPress 6.2.
- Add support for tags.
- Fix Site Health constants usage.
- Fix Site Health when some settings not set.
- Add ActiveCampaign Postmark for WordPress to Site Health.
- Obfuscate API Token in Settings page.
- Added a Status tab to the plugin's Settings page for quickly checking Postmark's Status.
- ActiveCampaign branding update.
- Do wp_mail_succeeded action after successful sends (introduced in WordPress v5.9).
- Honour pre_wp_mail filters.
- Fix notice when overriding force_from setting.
- Ensure Postmark plugin is loaded before attempting to load settings from it after upgrading.
- Use correct admin.js file version.
- Bugfix for using Force From setting.
- Adds new Force From setting to allow preventing override of From address using headers, if desired.
- Adds ability to override settings for environment specific Postmark plugin settings.
- Fix limit of 500 sending logs deleted per day.
- Even better handling of apostrophes in email address From names.
- Handle apostrophes in email address From names. These are sometimes used in site titles, which can be the default From address name with other plugins.
- Handle special characters in site titles for test emails.
- Additional bugfix for using wp_mail_from_name filter.
- Fixes error when upgrading by ensuring $postmark is set before trying to load settings.
- Fixes error from using incorrect filter name and mailparse_rfc822_parse_addresses function.
- Adds support for using the wp_mail_from_name filter to specify a from_name when sending.
- Fixes 'POSTMARK_DIR is undefined' warning when upgrading other plugins via the CLI.
- Fixes potential collation mismatch errors from date comparisons during old sending logs deletion.
- Uses count() for check of logs query result count.
- Corrects SQL for deletion of log entries older than 7 days.
- Checks if stream_name is set in settings before determining which stream to use.
- Adds support for message streams.
- Updates server API token location hint in plugin settings.
- Allows using POSTMARK_API_TEST in the plugin settings for generating test send requests that aren't actually delivered.
- Fixes handling of situation where call to Postmark API results in WP_Error instead of array for response, such as during incidents of the API being offline and not returning a response.
- Fixes log page display of From/To addresses including the From/To names. Only email addresses will now appear in logs page, to avoid confusion, while also preserving the sanitation of email addresses before inserting into db.
- Fixes no index error with track links check in wp_mail.
- Fixes call of non-global load_settings function during upgrade.
- Adds link tracking support.
- Fixes send test with HTML/open tracking option not being honored in sent test email.
- Fixes undefined index error.
- Adds Upgrade Notice
- Corrects logs deletion cron job unscheduling issue.
- Removes index on logs table.
- Corrects version mismatch in constructor.
- Adds a new logging feature that can be enabled to store logs for send attempts. Logs include Date, From address, To address, Subject, and Postmark API response. Logs are displayed in a Logs tab in the plugin setting once enabled.
- Switch loading of JS/CSS to use enqueue()
- Resolves issue when saving settings in UI.
- Falls attachment Content-Type back to 'application/octet-stream' when other methods fail.
- Update javascript to fix settings update issue.
- Added
postmark_error
andpostmark_response
actions to the plugin, to intercept API results after calling wp_mail. You can register callbacks for these usingadd_action
(more info here: https://developer.wordpress.org/reference/functions/add_action/)
- Interface cleanup
- Minor code restructuring
- Make the errors available in the PHP variable
Postmark_Mail::$LAST_ERROR
ifwp_mail()
returns false, examine this variable to find out what happened. - When doing a test send, if an error occurs, it will be printed in the settings page header.
- Fix case where 'From' header is specified as a literal string, instead of in an associative array.
- Allow the 'From' header to override the default sender.
- Don't send TextBody when the user has specified the 'Content-Type' header of 'text/html'
- Allow individual messages to opt-in to Track-Opens by including a header of 'X-PM-Track-Opens' and a value of
true
- Modernization of codebase.
- Support headers for cc, bcc, and reply-to
- Added open tracking support.
- Fix issue with new WordPress HTTP API Integration.
- New option to force emails to be sent as HTML. Previously just detected Content-Type.
- Now uses the WordPress HTTP API.
- Resolved error with handing arrays of recipients
- Arrays of recipients are now properly handled
- HTML emails and Text Emails are now handled by checking the headers of the emails sent, and sends via Postmark appropriately.
- Optional "Powered by Postmark" footer of sent emails. "Postmark solves your WordPress email problems. Send transactional email confidently using https://postmarkapp.com"
- Add license to README and PHP file
- First Public release.