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
adi salesforceadi salesforce 

How to create a batch apex to fetch all the records from Account object and send the email to all the users withPDF attachment which contains records owned by the user .

MagulanDuraipandianMagulanDuraipandian
you cannot achive this using batch. Try report scheduler but it will not work userwise.
Bhargavi TunuguntlaBhargavi Tunuguntla
https://developer.salesforce.com/forums/?id=906F0000000AlGoIAK  (https://developer.salesforce.com/forums/?id=906F0000000AlGoIAK) this link seems to have similar requirement.It may be helpful to you to send Email as PDF Attachment .