Select email client template

hartr
Giga Contributor

I'd like to use the email client function to send out different types of emails to different recipient.

I can setup multiple email client templates for the same table, but there doesn't seem to be any way to select which template is applied when the client email button is pressed (it always applies the default one)

I'd like to see something like the quick message select box but for client templates (so I can control the to: field, subject: field and body).

Does anyone know of anyway to accomplish this ?
Thanks

12 REPLIES 12

sgrison
Tera Guru

But can't you just add the 'condition' field to the client template form and this would allow you to create as many dynamic templates on a table as you'd like? I have successfully implemented this with problem management. For example if the impact = 1 and I click on the mail icon it launches a specific template, when the impact = 2 and I click on the mail icon it launches a different template.


hartr
Giga Contributor

Yes the conditions work but you can only match one set of conditions.

What i'd like to do is use field decorations to put an icon next to the caller_id field and a separate one next to the supplier field so that if you click on the one next to the caller_id it will use a template designed for customer communication, but if you click on the one next to the supplier field it would use a different template with different values (e.g. "to:" field set to the supplier email address, and different subject line etc)

Unfortunately it seems that if "emailClientOpenPop()" won't accept a parameter then I can't achieve this.


lbr2k
Tera Contributor

Hi Hartr ,

I am trying to do this too. Did you get this working?
If an incident is changed to a P1, have a specific email template launch.

Thank!
Laura


hartr
Giga Contributor

I'm afraid not - it appears that the email client is not scriptable.


Pastupe
Mega Guru

Hi all,


i activated this macro (email_reply)


Can somebody help me where do I can customize on call function defined in macro ?


I cannot find this function called emailClientOpenPop('${ref_parent}



Another question would be that is possible in this use mail_script ?


If so where I can create mail_script for that email pop up ?



Thanks fot help to all who add some comments here


Petr