You need to sign in to do that
Don't have an account?
yujohwan99
How can I create a custom button that sends an email with a template?
I've read many posts and articles regarding URL hacking or using javascript, but I am unable to figure out how to get the button to work. I went through the Salesforce Developer Workshop on trailhead, so I am somewhat familiar with some of the jargon, such as fields, custom objects, etc.
Currently, I created a detail page button called Send Email on my Speaker object, but I cannot make the button work. I have no clue as to where to start.
Currently, I created a detail page button called Send Email on my Speaker object, but I cannot make the button work. I have no clue as to where to start.
Sorry for this issue you are facing.
Here's a good blog entry by Werewolf
- https://success.salesforce.com/ideaView?id=087300000006tqzAAA
For more information on the above issue please check with below link from the success community.- https://success.salesforce.com/answers?id=90630000000ghujAAA
- https://salesforce.stackexchange.com/questions/78789/custom-button-to-send-an-email-using-email-template
Please let us know if this helps.Kindly mark this as solved if it's resolved.
Thanks,
Nagendra
All Answers
Sorry for this issue you are facing.
Here's a good blog entry by Werewolf
- https://success.salesforce.com/ideaView?id=087300000006tqzAAA
For more information on the above issue please check with below link from the success community.- https://success.salesforce.com/answers?id=90630000000ghujAAA
- https://salesforce.stackexchange.com/questions/78789/custom-button-to-send-an-email-using-email-template
Please let us know if this helps.Kindly mark this as solved if it's resolved.
Thanks,
Nagendra
This is the code I used for the button:
location.replace('/email/author/emailauthor.jsp?retURL=/{!Speaker__c.Id}&p3_lkid={!Speaker__c.Id}&rtype=003&p2_lkid={!Speaker__c.Id}&template_id=00XE0000000S3V9&p5=‘);