Will now send html formatted mails if required.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1106 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
1589f95540
commit
e3a3199031
|
@ -714,6 +714,7 @@ sub sendEmail
|
|||
From =>ZM_FROM_EMAIL,
|
||||
To=>ZM_EMAIL_ADDRESS,
|
||||
Subject=>$subject,
|
||||
Type=>(($body=~/<html>/)?'text/html':'text/plain'),
|
||||
Data=>$body
|
||||
);
|
||||
|
||||
|
@ -770,6 +771,7 @@ sub sendMessage
|
|||
From =>ZM_FROM_EMAIL,
|
||||
To=>ZM_MESSAGE_ADDRESS,
|
||||
Subject=>$subject,
|
||||
Type=>(($body=~/<html>/)?'text/html':'text/plain'),
|
||||
Data=>$body
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue