User Tools

Site Tools


scheduled-events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scheduled-events [2023/11/21 15:22] access19scheduled-events [2023/12/10 16:23] (current) – [Send out email updates (processEmailUpdates)] access19
Line 30: Line 30:
 ==== Send out email updates (processEmailUpdates) ==== ==== Send out email updates (processEmailUpdates) ====
  
-- Get all Members who are not set to 'inactive' +- Get all Members who are not set to 'inactive' and who have elected to receive email updates 
-- IF active Members are found: +- IF Members are found: 
-    - Loop through list of Members, and for each one+     - Loop through list of Members, and for each one:
-        - Check if they have opted in to Email Updates, and if True:+
             - Get the timestamp of the last Update Email they were sent             - Get the timestamp of the last Update Email they were sent
             - Calculate the number of days that have elapsed since the last Update Email, and if this is higher than or equal to their Email Update Frequency preference:             - Calculate the number of days that have elapsed since the last Update Email, and if this is higher than or equal to their Email Update Frequency preference:
scheduled-events.1700580168.txt.gz · Last modified: 2023/11/21 15:22 by access19

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki