Active
Project:
Signup
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2009 at 23:02 UTC
Updated:
31 Oct 2009 at 01:15 UTC
I bet many of you have multiple copies of your Drupal sites so that you may write new code or test new modules without mucking up your production site. How do you deal with Signup reminder emails on your non-production sites? Without modification, users would receive three copies of each signup.
I added this little bit of code at line 34 of includes/cron.inc to solve our problem, but I bet a better solution exists. Can you tell me?
global $base_url;
if (!strstr($base_url, "www.catlin.edu")) {
// Not the production Catlin Gabel website, so don't send reminders
return;
}
Comments
Comment #1
izmeez commentedHow about
http://drupal.org/project/mail_redirect
Not sure if this will work with all modules,
Izzy