+ 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 .

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 .