You need to sign in to do that
Don't have an account?
jaxdmaster
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?
Thanks
Yes there are limits and you need to take care of that.
Go through these-
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_email_outbound.htm