Skip to content
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

Option and filter for sending test emails using POSTMARK_API_TEST key #10

Closed
pderksen opened this issue Apr 28, 2016 · 3 comments
Closed
Assignees

Comments

@pderksen
Copy link

From #6 via @atheken:

You might also use our "testing" key for sending from staging, POSTMARK_API_TEST, as outlined here: http://developer.postmarkapp.com/developer-send-api.html

I'd love to see this added as an option (to toggle in plugin settings) and filter (to toggle programmatically). If I can view the emails within the Postmark dashboard without them getting actually sent, then this would
alleviate the need to use Mailtrap or similar services for my staging site email testing.

@atheken
Copy link
Contributor

atheken commented Nov 10, 2016

@pderksen I'm not really sure it makes sense for this to be built in to the WP plugin.

If you'd like to verify that messages are processed by Postmark but want to "trap" them, then a really simple solution is to create a "Testing Trap" Inbound Server in Postmark, and send all of your test messages to the inbound address we provide for that server.

@planetahuevo
Copy link

I would like to see this.
The reason for this feature is for the staging sites of WordPress.
you do not want to test emails, but to prevent them to reach users or clients from a staging site by mistake.
Being able to activate this using an wp-config variable will make staging management of the emails much easier.
On my example and your suggestion: you cannot send them to your inbox, because the emails are sent to your users because this is a staging site, not a development one.

@pgraham3 pgraham3 self-assigned this Aug 16, 2019
@pgraham3
Copy link
Contributor

@planetahuevo You can now use POSTMARK_API_TEST for your API token in the plugin settings with v1.11.5 (just released). Emails won't be delivered but you can see the processing result in the Logs tab (make sure logging is enabled).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants