Merge branch '145-plain-text-mail-cannot-be-send-by-email_mr' into 'develop'

create mr8 for send mail plain/text

See merge request !863
This commit is contained in:
vgilc 2017-10-09 10:11:07 +02:00
commit 80495ddaf7
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
START TRANSACTION;
UPDATE `talert_commands`
SET `description` = 'This alert send an email using internal Pandora FMS Server SMTP capabilities (defined in each server, using:
_field1_ as destination email address, and
_field2_ as subject for message. 
_field3_ as text of message. 
_field4_ as content type (text/plain or html/text).',
`fields_descriptions` = '[\"Destination address\",\"Subject\",\"Text\",\"Content Type\",\"\",\"\",\"\",\"\",\"\",\"\"]',
`fields_values` = '[\"\",\"\",\"_html_editor_\",\"_content_type_\",\"\",\"\",\"\",\"\",\"\",\"\"]'
WHERE id=1;
UPDATE `talert_actions`
SET `field4` = 'text/html',
`field4_recovery` = 'text/html'
WHERE id = 1;
COMMIT;