You need to sign in to do that
Don't have an account?
Send email from Batch Apex
Hi,
I would like to send emails to record owners whose records have not been touched since the last 30 days. I have written a batch job to query the records which have not been modified since the last 30 days. Now I would like to send email to record owners.
Thank you,
Satya
I would like to send emails to record owners whose records have not been touched since the last 30 days. I have written a batch job to query the records which have not been modified since the last 30 days. Now I would like to send email to record owners.
Thank you,
Satya
You have to modify your batch class and make a list of all record owner whose record are not modified in last 30 days. In that list, you add the email of record owner and send an email to that list. Hope it will help you.
Regards,
Ajay
Thanks for your response. I have written the below batch job. Not sure if this correct.
Thank you,
Satya