colosa/processmaker — pull request #1098 by victorsl (2012-12-13 21:08:19+00:00)
Title: BUG 10152 "PMFSendMessage() should have an option for..." SOLVED

- PMFSendMessage function can't be set for send mail with format text plain
- Fixed, PMFSendMessage now use the extension of the template for get the
format of the mail, example:
> path_to_template/MyTemplate.html
the extension is html, then use text/html content type for the mail
> path_to_template/MyTemplate.txt
the extension is txt, then use text/plain content type for the mail
> If the extension is different to html/htm, then used text/plain in all cases
* Available from version ProcessMaker-2.0.46