Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(EmailMessage sEmailMessage :listEmailMessage)
- {
- liIDs.add(sEmailMessage.RelatedToid);
- }
- for(contact sCont : [select Id, LastEmailSentTime__c from contact where Id in : liIDS])
- {
- // sCont.LastTaskCreatedTime__c == null;
- // ids.add(sCont);
- }
- }
Add Comment
Please, Sign In to add comment