Skip to main content
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
1 respuesta
  1. 21 jun 2016, 9:57 p.m.
    Query the Task object where TaskSubtype = 'Email' and WhatId='opportunity id'