AnsweredAssumed Answered

Mail template with module fields

Question asked by Stefano Mapelli on Sep 21, 2016
Latest reply on Sep 22, 2016 by Stefano Mapelli


I use SugarCRM pro 7.6 and I want to send via PHP a mail with a pre-created template.

In the template I want to insert a lot of fields from different modules (Accounts, Contacts, Quotes...).

How can I create the template with the fields placeholders?

How can I parsing the template to insert the values of the fileds in the text of the mail?



I searched a solution on google but I find only this page which doesn't consider fields from different modules.


Thanks for the help

Best regards