You need to sign in to do that
Don't have an account?
debiken
Send email containing lead info to contact
Hi all,
Been struggling with this a few days now. I have a simple task, a lead comes in, and I need to notify the lead owner (who is a salesforce user) and allow them to forward the information to a contact at an account (our distribution network). I have a lookup field to Account on the lead object. I have a custom template with fields that merge from the lead object. I need to be able to send the email "To" an account contact, but merge in the fields from the lead object. I either end up with the lead fields merged in and the "To" going to the lead's email, or the "To" lookup displaying contacts, which is what we need, but then the merge fields not working.
I have tried every combination of p2_lkid and p3_lkid and rtype set to 003 or 00Q, all to no avail, or an error message about the parameter length.
/_ui/core/email/author/EmailAuthor?retURL={!Lead.Id}&rtype=003&p2_lkid={!Lead.Dealer__c}&template_id=00X38000001fie4&p24=
{!Lead.OwnerEmail} *** "To" button search points to contacts, merge fields are being populated with Contact info rather than lead
/_ui/core/email/author/EmailAuthor?retURL={!Lead.Id}&rtype=00Q&p2_lkid={!Lead.Dealer__c}&template_id=00X38000001fie4&p24=
{!Lead.OwnerEmail} *** I change rtype to 00Q (lead) then the fields merge correctly, but the "To" lookup field displays leads, not contacts
I would be EXTREMELY GRATEFUL to anyone who has done this successfully with a simple button using the EmailAuthor function.
Thanks in advance!!!
Been struggling with this a few days now. I have a simple task, a lead comes in, and I need to notify the lead owner (who is a salesforce user) and allow them to forward the information to a contact at an account (our distribution network). I have a lookup field to Account on the lead object. I have a custom template with fields that merge from the lead object. I need to be able to send the email "To" an account contact, but merge in the fields from the lead object. I either end up with the lead fields merged in and the "To" going to the lead's email, or the "To" lookup displaying contacts, which is what we need, but then the merge fields not working.
I have tried every combination of p2_lkid and p3_lkid and rtype set to 003 or 00Q, all to no avail, or an error message about the parameter length.
/_ui/core/email/author/EmailAuthor?retURL={!Lead.Id}&rtype=003&p2_lkid={!Lead.Dealer__c}&template_id=00X38000001fie4&p24=
{!Lead.OwnerEmail} *** "To" button search points to contacts, merge fields are being populated with Contact info rather than lead
/_ui/core/email/author/EmailAuthor?retURL={!Lead.Id}&rtype=00Q&p2_lkid={!Lead.Dealer__c}&template_id=00X38000001fie4&p24=
{!Lead.OwnerEmail} *** I change rtype to 00Q (lead) then the fields merge correctly, but the "To" lookup field displays leads, not contacts
I would be EXTREMELY GRATEFUL to anyone who has done this successfully with a simple button using the EmailAuthor function.
Thanks in advance!!!
Thanks,
Parker
All Answers
Thanks,
Parker