• SwapnilSrivastava_SFDC
  • NEWBIE
  • 0 Points
  • Member since 2018


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Dear Members,

 

I came accross a very surprising(annoying as well) problem when i tried to send the EMail using SingleEmailMessage.

 

I used setTargetObjectId(User.Id) and send near about 800 emails from my development org. My Email Limit remained as it is.

But when I used setTargetObjectId(Contact.Id) and tried to send the emails then i came Accross SINGLE_EMAIL_LIMIT_EXCEEDED.

 

Can anybody suggest and Provide input on this as salesforce documentation provide contradictory info in below Link:

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_apex_governor_limits.htm

 

"There’s no limit on sending
individual emails to contacts, leads, person accounts, and users in your organization directly from account, contact,
lead, opportunity, case, campaign, or custom object pages.
"

 

"You can send an unlimited amount of email to your organization’s
internal users, which includes portal users.
"

 

Thanks In Advance,

 

Ghanshyam Bhatt