You need to sign in to do that
Don't have an account?
Calling all custom button experts
The situation is as follows:
I have created an email template that contain within the body, contact fields i.e. First / Last Name, Email address, phone, cell etc.
Within the Contact page I have added a Custom button that calls this template, the idea being that a user can email a contacts details to another individual.
The problem is that the URL I am using (see below) is automatically populating the "TO" field with the email address of the contact.
Obviously there is no point in emailing the contact his or her own contact details, so users will have to delete / overwrite the contents of the TO field.
Is there a way of leaving the TO field blank, yet populating the relevant details within the body.
In order to set the "To" field to blank you have to use:-
1.p2_lkid=%20
2. But that will not populate the body with necessary contact details.
3. So for that do this set:- p7=={!Contact.FirstName}+'-'+{!Contact.LastName}
Try the following hope this solves your problem:-
https://na4.salesforce.com/_ui/core/email/author/EmailAuthor?p2_lkid=%20&p7={!Contact.FirstName}+'-'+{!Contact.LastName}&retURL=/{!Contact.Id}&template_id=00X20000001MLZY
Brilliant, thanks v. much for this.