function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Eric FortenberryEric Fortenberry 

Auto-populate Account on SendEmail button

What is the best way to auto-populate the Account when clicking the Send Email button on the Contact's Activity History related list?  Right now it doesn't fill it in.  We'd like it to populate with the Account associated with the Contact.  Thanks for the help!

Eric FortenberryEric Fortenberry

Figured it out by using this code.

 

/_ui/core/email/author/EmailAuthor?p2_lkid={!Contact.Id}&p3_lkid={!Account.Id}&rtype=003&retURL=%2F{!Contact.Id}