You need to sign in to do that
Don't have an account?
Kathleen Munetz-Vasquez 3
Custom send email button in Salesforce not working.
Trying to create a Salesforce button but it is not working, this is the error message I am receiving: Also below is the code as well.
Unable to Access Page
The value of the "p3_lkid" parameter contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value or reduce the value length and resubmit. If the error still persists, report it to our Customer Support team. Provide the URL of the page you were requesting as well as any other related information.
https://cs21.salesforce.com/email/author/emailauthor.jsp?retURL=/{!Webform_Inquiries__c.Name}&p2_lkid={!Webform_Inquiries__c.OwnerFullName}&p3_lkid={!Webform_Inquiries__c.Name}&p7={!Webform_Inquiries__c.Full_Name__c} %20}&rtype=003&template_id=00X2A000001v2uc &new_template=true
Unable to Access Page
The value of the "p3_lkid" parameter contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value or reduce the value length and resubmit. If the error still persists, report it to our Customer Support team. Provide the URL of the page you were requesting as well as any other related information.
https://cs21.salesforce.com/email/author/emailauthor.jsp?retURL=/{!Webform_Inquiries__c.Name}&p2_lkid={!Webform_Inquiries__c.OwnerFullName}&p3_lkid={!Webform_Inquiries__c.Name}&p7={!Webform_Inquiries__c.Full_Name__c} %20}&rtype=003&template_id=00X2A000001v2uc &new_template=true
Use p3_lkid={!Webform_Inquiries__c.Id}
All Answers
Use p3_lkid={!Webform_Inquiries__c.Id}
p2_lkid - To (can be Contact or Lead Id)
p3_lkid - *Related To Id
p4 - CC
p5 - BCC
p6 - Subject
p23 - Email Body
p24 - Additional To
Template_Id - Salesforce email template Id
retURL - *Redirection page when cancel button is clicked