02-20-2012 11:06 PM
Can somebody please help me as I am still a beginner with the saleslogix.
I have an Email Template that I have created.
I want to add a button on the contacts form that will send the email to the selected contact, does anyone have the code on how to do this?
02-20-2012 11:53 PM
In the ticket detail page there is a button to open a mail from a specified template.
In the OnEmailButtonClick function (in the script part of the plugin) you can see how to do it.
02-21-2012 12:18 AM
Thanks for that, yes that will work, but is it possible to send a mail using a custom E-Mail template. The reason for this is that it then can be managed instead of hardcoded.
02-21-2012 03:46 AM - edited 02-21-2012 03:49 AM
You can use Application.BasicFunctions.SelectTemplateEx() or
Functions are described in the LAN Developers Reference.
03-05-2012 08:26 AM
You can use the mail merge API to create a completely customized solution. I've attached a document (old, but still valid) that gives an example of using this API.