+ Start a Discussion

Batch to send email

Hi All,


I've several batch in a single batch job. And whenever an error occurs in any batch, salesforce sends an error email to admin. But that email doesnot have enough info about error, so I want to send email using apex code. I will write email sending code catch block in execute method of batch apex. Pls tell me so far I am ok? Now my question is what are the limitations on email in apex. I just want to send email to internal users only. Is there any limit on that?