+ Start a Discussion
ECoronaECorona 

Query sent emails

Greetings

I need some help, i need to query select all the emails sent related to an opportunity, i need to do that using the task object (if yes, where i can get the for: to: subject field) or i need to use the emailmessage object (if is correct why i don't get records, the object is empty)

I'll really appreciate your help
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Query the Task object where TaskSubtype = 'Email' and WhatId='opportunity id'