From 8b0d920e411d3f0453c0a898325682ecb6d7fead Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 7 Nov 2009 22:22:09 -0500 Subject: allow sending of same message twice when 'testing' smtp service --- usr/local/www/system_advanced_notifications.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr') 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"); -- cgit v1.1