summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-07 22:22:09 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-07 22:22:09 -0500
commit8b0d920e411d3f0453c0a898325682ecb6d7fead (patch)
treee4d8a15cc38884ca22aab8523fa97403a1300166 /usr/local/www/system_advanced_notifications.php
parentc20acc3559d4b7d2f0172d481da9bc37218d6409 (diff)
downloadpfsense-8b0d920e411d3f0453c0a898325682ecb6d7fead.zip
pfsense-8b0d920e411d3f0453c0a898325682ecb6d7fead.tar.gz
allow sending of same message twice when 'testing' smtp service
Diffstat (limited to 'usr/local/www/system_advanced_notifications.php')
-rw-r--r--usr/local/www/system_advanced_notifications.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php
index 5f5c74e..5a53ab2 100644
--- a/usr/local/www/system_advanced_notifications.php
+++ b/usr/local/www/system_advanced_notifications.php
@@ -87,6 +87,8 @@ if ($_POST) {
notify_via_growl("This is a test message form pfSense. It is safe to ignore this message.");
// Send test message via smtp
+ if(file_exists("/var/db/notices_lastmsg.txt"))
+ unlink("/var/db/notices_lastmsg.txt");
$savemsg = notify_via_smtp("This is a test message form pfSense. It is safe to ignore this message.");
pfSenseHeader("system_advanced_notifications.php");
OpenPOWER on IntegriCloud