I get the Green success message when I go to the script via a browser and have changed this line to make 10 days rather than one week
$week1 = strtotime($today) + 240*3600;
Then I changed my CBsubs test account to expire in 10 days time... but didn't get an email - is there a way to test this to see if emails are being sent?