How To Parse Email Template Variable In SugarCRM /SuiteCRM By Custom Script

SugarCRM, SuiteCRM Navin Rakhonde
Greetings from TechCRM! Here is an code snippet how SugarCRM parse an Email Template. Let's have an example Here I have created email template from Emails->Create Email Template Template body : Hello $contact_name, Greetings from TechCRM. Here we have example of some variable. First Name : $contact_first_name Last Name :…
Read More

Email Template With Attachment – SugarCRM / SuiteCRM

SugarCRM, SuiteCRM Navin Rakhonde
If user want email with attachment this can be done very easily in SugarCRM / SuiteCRM. Steps are as below, Step 1 : Get the Email Template detail using following code, require_once(‘modules/EmailTemplates/EmailTemplate.php’); $emailTemp = new EmailTemplate(); $emailTemp->disable_row_level_security = true; $emailTemp->retrieve($emailTemplateId); print_r($emailTemp); Step 2 : Get the Attachments of Email Template…
Read More