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
test vijaytest vijay 

Contact is not showing in Related To Of Email (In Activity of Objects)

Hello Peers,
I want to send email from Email Activity of Object Related but
In Related to field, I am able to show almost every object but not contact.
I am little confused that why the object is not showing.
can any one help me in this scenario.

Thanks in advance

 
Best Answer chosen by test vijay
ravi soniravi soni
Hy vijay,
yes, In Related to field, you can see almost every object but not contact because contact is a human object. you can't relate a human object with this field.
Actually The RelatedToId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. RelatedToIds are polymorphic. Polymorphic means a RelatedToId is equivalent to the ID of a related object.

For more Info =>  https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_emailmessage.htm

let me know if above info is helpful to you and mark it as best answer.

Thank you