From e3a3199031d9acf2830eac9650bc76236077d61c Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 23 Sep 2004 15:14:14 +0000 Subject: [PATCH] Will now send html formatted mails if required. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1106 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmfilter.pl.z | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/zmfilter.pl.z b/scripts/zmfilter.pl.z index 5fa8d9bf0..175ba0488 100755 --- a/scripts/zmfilter.pl.z +++ b/scripts/zmfilter.pl.z @@ -714,6 +714,7 @@ sub sendEmail From =>ZM_FROM_EMAIL, To=>ZM_EMAIL_ADDRESS, Subject=>$subject, + Type=>(($body=~//)?'text/html':'text/plain'), Data=>$body ); @@ -770,6 +771,7 @@ sub sendMessage From =>ZM_FROM_EMAIL, To=>ZM_MESSAGE_ADDRESS, Subject=>$subject, + Type=>(($body=~//)?'text/html':'text/plain'), Data=>$body );