Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
New Member
Posts: 6
Registered: ‎02-20-2012

LAN - Send Mail Merge from contacts form.

Hi All

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?

 

Much appreciated.

 

Loyal Listener
Posts: 19
Registered: ‎07-05-2010

Re: LAN - Send Mail Merge from contacts form.

Hi

 

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.

 

Best regards.

New Member
Posts: 6
Registered: ‎02-20-2012

Re: LAN - Send Mail Merge from contacts form.

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.

Bronze Super Contributor
Posts: 113
Registered: ‎07-27-2009

Re: LAN - Send Mail Merge from contacts form.

[ Edited ]

You can use Application.BasicFunctions.SelectTemplateEx() or

Application.BasicFunctions.MergeFromSelectedTemplate

 

Functions are described in the LAN Developers Reference.

Regards
Rainer Raebiger
Employee
Posts: 629
Registered: ‎04-24-2009

Re: LAN - Send Mail Merge from contacts form.

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.

 

Thanks

 

Mike