New Guest Email Campaign ============================ .. seealso:: Download the whole script: :download:`Files/NewGuestEmailCampaign.py` This script sends 6 different emails each week in succession to members of an org based on which emails they have already received. The email content is stored in Special Content HTML area. The name of each email in content is called `NewGuestEmail-1`, `NewGuestEmail-2`, etc. These same names will be used for Sub-Groups in the org to indicate that the guest has been sent that email. The subject of each email comes from the Title in the Special Content file. Every time the script runs, a person will be sent the next email after the last one already sent for that person. If the person has not received any, the first email will be sent. You will be able to schedule these emails to be sent once a week on the day and time of your choice. You will need to modify the variables at the top of the script for your church (lines 1-4) Also, there is a testing mode ``model.TestEmail = True``, on line 5 that you must comment out or set to False when you are ready to go to production. .. literalinclude:: Files/NewGuestEmailCampaign.py :linenos: