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
ramamohanreddyramamohanreddy 

single emil to every users that contains all today STATUS details instead of sending every time

Hi all,

         I have  some problem Regarding to instead of sending an email every time when a STATUS=ACCEPTED OR REJECTED, to the customer portal owners,  I want to send single email to every customer portal users, that mail contains   todays all details of STATUS

 at every day one time only.

   please give me solution immediately.

  

Thanks:

p.ram

 

AmitSahuAmitSahu

You can create batch apex class for getting all these records and schedule it once everyday.

 

The schedule will get all the records you want and send a mail to the recepient you want.

ramamohanreddyramamohanreddy

Hi,

  Can u send the code for the above problem.

Thanks:

p.ram 

 

AmitSahuAmitSahu

writing code for this problem will require some time. But you can refer fo the Apex developers guide and search for batch apex and scheduleable interface. There are few sample code with example...

 

I hope that will help..

ramamohanreddyramamohanreddy

Thanks for giving some help to me,

Thanks:

p.ram 

ramamohanreddyramamohanreddy

Hi,

 here the problem is sending email with data(using controller i retrieved the data) .

 The mail is send to the persons and the data contains their data only(i.e dont send all data , send their related data).

 please help.

 

Thanks:

k.k

hyd

 

 

 

AmitSahuAmitSahu

Good start buddy .. :)

 

Can you share the code here you are using  ?