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
MarrisMarris 

Governor limit - 1000 Emails a day

Hi 

 

     We have a mailing function it sends emails to various ID. Now we are hitting an apex governor limit that we can't send more than 1000 emails. Is it possible to develop a New Email Functionality VF page to send more than 1000 mails a day

 

 

Thanks

Marris

jd123jd123

Hi Marris

 

I think it will help you 

 

would be create an anonymous block with an isFuture method that sends 10 emails inside of a loop. Call this isFuture method inside of another loop (also 10x) and you'll send 100 emails without hitting governor limits.

Of course you'll have to run your code 11x to get the email exception. This is a pretty **bleep**e way to do it, but it's better than clicking a button 1000x.

 

http://stackoverflow.com/questions/2804167/what-happens-after-you-reach-the-salesforce-daily-email-limit

 

http://www.soliantconsulting.com/blog/2009/07/how-to-avoid-governor-limits-with-sendemail-in-apex

 

If your question is resolve please mark it as accept as a solution if not please let me know.

MrTheTylerMrTheTyler

Hi Marris,

 

  With apex emails having such strict limits, have you considered using a workflow email fired on record insertion?  This approach will allow for "The daily limit for emails sent from workflow and approval-related email alerts is 1,000 per standard Salesforce license per organization".

 

 

Kind Regards,

 

Tyler Hudson
Contact Us - We Can Help!

Salesforce Superheroes
------------------------------
help@salesforcesuperheroes.com
www.salesforcesuperheroes.com
1-888-407-9578 x123