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 );