I have an request from our users for which I need help.

Our users need a particular email template to be the default template, along with From address to default to [email protected] instead of their names. The subject line should have the Case Number and the text from the subject filed in every email being sent out from Salesforce. This is because they send out many emails in one day and to have to chose a template every time they send it out, it’s a time taking process and has chance for human error.

Is there anyway we could automate the process?

  • How are these emails being sent? Is there a workflow or something? Jul 6, 2015 at 3:09

1 Answer 1


First, you need to set [email protected] as a Organization-Wide Email Address if not already done. Next, find the ID of the template that you want to use. Third, create a new Detail Page Button on the case that executes the following Javascript (replacing the template ID where you see 00XCXXXXXXXXXXX and put the correct return address in where the [email protected] is:

location.replace('/email/author/emailauthor.jsp?retURL=/{!Case.Id}&p3_lkid={!Case.Id}&rtype=003&p2_lkid={!Case.ContactId}&template_id=00XCXXXXXXXXXXX&[email protected]');

Finally, place the new button on the case page. The template should include all of your required fields (case number in the subject, etc) and then pressing the button from the case should do exactly what you are looking for.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .