You need to sign in to do that
Don't have an account?
Tulasiram Chippala
How to exceed email limit
We have a requirement for uploading lead. After inserting leads either through import wizard or dataloader, owner should be notified.
But the issue is sending too many emails to single users if he owned too many records.
How we can send single email for owner who owned too many records.
Ex: 20 owners for 200 records. Suppose first user has 10 records, then send single email to that owner instead of sending 10 emails to the same user(that mail has to include all 10 records info like Name, Company, id etc....).
We tried using for loop to create a mail body for all those 10 rcords for single owner.
In this scenario there are 20 owners so my code is creating 20 mail bodies. Then it is creating 20 single email message methods. Exceeding limit.
Is there any option to avoid this limit??
Pls suggest me a solution...
Thank you!
But the issue is sending too many emails to single users if he owned too many records.
How we can send single email for owner who owned too many records.
Ex: 20 owners for 200 records. Suppose first user has 10 records, then send single email to that owner instead of sending 10 emails to the same user(that mail has to include all 10 records info like Name, Company, id etc....).
We tried using for loop to create a mail body for all those 10 rcords for single owner.
In this scenario there are 20 owners so my code is creating 20 mail bodies. Then it is creating 20 single email message methods. Exceeding limit.
Is there any option to avoid this limit??
Pls suggest me a solution...
Thank you!
In apex, trigger you can able to do like this