mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 00:38:30 -04:00
changed error message to debug message
This commit is contained in:
1 parent
52255e594e
commit
2d161924c0
1 file changed
+2
-2
@@ -804,7 +804,7 @@ sub sendEmail
|
||||
|
||||
$ssmtp_location = qx('which ssmtp');
|
||||
if ( !$ssmtp_location ) {
|
||||
Error( "Can't find ssmtp, trying MIME::Lite->send" );
|
||||
Debug( "Can't find ssmtp, trying MIME::Lite->send" );
|
||||
MIME::Lite->send( "smtp", $Config{ZM_EMAIL_HOST}, Timeout=>60 );
|
||||
$mail->send();
|
||||
} else {
|
||||
@@ -918,7 +918,7 @@ sub sendMessage
|
||||
|
||||
$ssmtp_location = qx('which ssmtp');
|
||||
if ( !$ssmtp_location ) {
|
||||
Error( "Can't find ssmtp, trying MIME::Lite->send" );
|
||||
Debug( "Can't find ssmtp, trying MIME::Lite->send" );
|
||||
MIME::Lite->send( "smtp", $Config{ZM_EMAIL_HOST}, Timeout=>60 );
|
||||
$mail->send();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user