-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WP-CLI Support #33
Comments
Hello - I have a branch here for the work I am doing on adding WP-CLI support. https://github.com/wildbit/postmark-wordpress/tree/wp-cli-support With it you can generate test sends, including the option to set the from address, to address, subject, body, and open tracking flag. I hope to release it next week after some more testing. What else would you benefit from being included as WP-CLI commands? |
@pgraham3 I think the ability to send emails, or batch emails (not just test emails) would be the biggest. Just an FYI, you might find this library useful - https://github.com/wp-api-libraries/wp-postmark-api |
Thanks for the feedback on this feature. I added a bunch of additional commands and have the Postmark WP-CLI commands available in the development tag in the plugin's WordPress SVN repo now. The commands include the majority of all of the available Postmark API calls. You can test it out by installing the development version with this WP-CLI command:
or upgrading to it via this command:
Run Before trying out the account level commands (adding a domain, modifying a sender signature, etc...), define POSTMARK_ACCOUNT_TOKEN in your define ('POSTMARK_ACCOUNT_TOKEN', 'youraccountapitoken'); Can you give it a try in a staging or dev WordPress environment not used for production and let me know what feedback you have/if you get any unexpected errors, etc...? Thanks! |
I would like to see support for WP-CLI. There could be useful commands such as sending a test email, etc.
The text was updated successfully, but these errors were encountered: