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
kamal3883kamal3883 

Want to send email at 1pm and 4pm.

Hi,

i want to send an email to certain group of people at 1 pm and 4 pm. actually we are using milestone and business hour at  account level. finally what we need to send an email at 1 pm and 4 pm but this time calculation is based on time zone of account(custom). please suggest any way for this.

i am using formula field and apex but somehow its not so dynmaic.
Vinita_SFDCVinita_SFDC
Hi,

You can achieve this with apex scheduler. Please refer following document and thread:

http://salesforce.stackexchange.com/questions/5646/scheduling-emails-in-apex

https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm