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
salesforce123salesforce123 

Your message has been sent Successfully

Hi,
I Develop one SendEmail Functionality.

My Requirement is Once i  click Send a Button The Email Was sent .


  1)  BUT I WANT TO SHOW THAT MESSAGE "Your message has been sent Successfully"   How to i Get to this.

   2) What is the Limit of SendEmailes for Day in Developper Edition.

Sfdc CloudSfdc Cloud
Hi
1.You can put your sendEmail code with apex message (Your message has been sent Successfully) in try block and put exception error at Catch block.
    Here you can check whether your message has been sent successfully or not.

2.In Developer Edition organizations and organizations evaluating Salesforce during a trial period, your organization can send mass email to no more than 10 external email addresses per day. This lower limit does not apply if your organization was created before the Winter '12 release and already had mass email enabled with a higher limit. Additionally, your organization can send single emails to a maximum of 15 email addresses per day.

Refer below link of Email Limits
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

If this answer will help,mark it as best answer to help Others :)
Thanks