You need to sign in to do that
Don't have an account?

Need Help with Email Button Code
I created an email button in a custom object which works fine, except when I click on send or cancel, it does not loop back to the previous page ie the custom object.
Here is the code:
location.replace('/email/author/emailauthor.jsp?retURL=/{!Gift_Requests__c.Name}&p3_lkid={!Gift_Requests__c.Id}&rtype=003&p4={!Opportunity.OwnerEmail}&p2_lkid=0037000000g3KpE&template_id= 00X700000017qEN ');
Can someone tell me what's missing so when the user clicks on cancel or send it loops back to the custom object.
Should be
retURL=/{!Gift_Requests__c.Id}
All Answers
Should be
retURL=/{!Gift_Requests__c.Id}