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
NNRNNR 

batche apex urgent

Hi All,
 i want send email to Regional manager for end of the day how many Opportunities are created throw batch apex.

  In Email body :  Opportunity name       status                       UniqNumber.
                             name1                   completed                   212323333
                             name1                   completed                   212323333

like this format i need to send mail to regional head.

Thanks in advanced
Krishna SambarajuKrishna Sambaraju
You don't need a batch apex. You can create a report and schedule it to run at a specific time and send the report to specific users.

Hope this helps.
salesforce mesalesforce me
Hi NNR first u can create A Report ofter that u u can send to that report u r reginal manager.

1)first u need to create a Reginal Manager Account Like user.
2)once u can send that Report ur Manager..
3)A scheduled report email can be sent to only licensed SFDC user. If you really want to share report to list of non SFDC users, you may want to create a group email id and assign this email id under a SFDC user. Now let your schedule report sends email to the user which has group email id.