On the Case object page, there is an Emails related list which has a Send an Email button taking the user to another page to fill in the email.
I haven't been able to find a way to override the functionality of this Send an Email button, or customise the Emails related list in any way. All I want to do is to manipulate the URL onclick so that the p26 parameter is set which will set the email From: address to a certain value.
I have done this by creating a custom Send an Email button and adding it to the Case page, but the Send an Email button on the Emails related list is still there of course, so if users press that one then they don't get the custom functionality.
Is there anyway I can override the default functionality, or remove the standard Send an Email button?
Thanks
changeNewEmailQueryfunction runs, how willdocument.getElementsByName("newEmail");work when there isn't a button on the Home page? I'm probably missing something here. – Joe Sep 07 '12 at 11:26if (cid.indexOf('500') != 0) return;limits the execution to the Case page. – Benj Sep 07 '12 at 12:26