Is it possible to disable Postmaster from sending emails using a config.php override? I've got a development version of a site and it'd be good if I could disable the emails from sending when I'm triggering the parcels during testing. Thanks.
Currently these features are not available in Postmaster. v1.2 is almost finished, but it wouldn't be a problem to add the following in the form a config override in the next version:
- Config var to disable all emails from being sent
- Config var to enable debugging (testing why emails are sent/not sent)
- Config var to disable all error messages (for production sites)
I use the Master Config bootstrap with multiple environment, so you can guarantee it will work for stuff like that too.
Email support[at]objectivehtml.com to get a copy of the latest beta once it's available. (A valid license is required for beta access.)
If you're using the webserver email option for Postmaster, why don't you just override the smtp settings based on your environment.
$config['mail_protocol'] = 'smtp'; $config['smtp_server'] = '127.0.0.1'; $config['smtp_username'] = 'example'; $config['smtp_password'] = 'example';
If you're unfamiliar with multi-environment config setups, this is a good one: