PostmanCanFail
Notice via mail() or Rollbar in case of WordPress Postman SMTP Mailer sending errors. Postman logging must be enabled.
by Comodolab.it · github.com/micc83/postmancanfail · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/micc83/postmancanfail/archive/refs/heads/master.zipReadme
PostmanCanFail
A simple plugin that reads Postman SMTP Mailer logs and send a notice via mail() or Rollbar in case of error. You can provide a default config file as follow:
<?php
// pcf/default.php
return [
'fail_type' => PostmanCanFail::LOG_VIA_BOTH, // or LOG_VIA_MAIL or LOG_VIA_ROLLBAR
'email' => 'example@example.it',
'rollbar_token' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
];