summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-10-15 23:33:01 +0200
committerMichael Tänzer <neo@nhng.de>2013-10-15 23:33:01 +0200
commit44873a4e80edd621e4000a88dbdd3741bc704304 (patch)
treece80802c8efc8340a0248c6cb56a21ae86cff19d
parentfcb9c638f44c9d20353c7364716fa342fa0b8c1a (diff)
downloadcacert-devel-bug-1003.tar.gz
cacert-devel-bug-1003.tar.xz
cacert-devel-bug-1003.zip
bug 1003: Add debug output so we can trace where the mails got lostbug-1003
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rwxr-xr-xscripts/cron/permissionreview.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cron/permissionreview.php b/scripts/cron/permissionreview.php
index d1c67f1..ca95f18 100755
--- a/scripts/cron/permissionreview.php
+++ b/scripts/cron/permissionreview.php
@@ -160,6 +160,7 @@ CAcert Support
EOF;
sendmail($admin['email'], "Permissions Review", $message, 'support@cacert.org');
+ echo "Sent $flag_properties[name] mail to $admin[email]\n";
}
}
}
@@ -199,6 +200,7 @@ foreach ($adminlist['admin=1'] as $support_engineer) {
"Permissions Review",
$message,
'support@cacert.org');
+ echo "Sent Support Engineer mail to $support_engineer[email]\n";
}
@@ -244,4 +246,5 @@ CAcert Support
EOF;
sendmail($values['email'], "Permissions Review", $message, 'support@cacert.org');
+ echo "Sent $values[description] mail to $values[email]\n";
}