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
archCoolarchCool 

​SendEmail failed. First exception on row 0; first error: UNKNOWN_EXCEPTION

This exception is being thrown on  
Messaging.SendEmailResult[] results = Messaging.sendEmail( allMails );

SendEmail failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, Read access denied for object. The user definitely has read access on the object. Do we know why this might be happening? 
Dushyant SonwarDushyant Sonwar
Hey Buddy,
Your question is already has been asnwered in this thread..
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008zhLIAQ
Hope This Helps.
archCoolarchCool
As you can see in the post you have mentioned, none of teh solutions resolved the issue.