GMR Registration Email Copy Misdirect
Brought to you by:
jvarghes
When someone registers for a class at GMR, for some reason a copy of the initial confirmation is being sent to Sharon Dennis' email address at UCLA. My guess is this was just copy-and-pasted over as a default email, but nobody noticed until now. These should probably be going to who is supplied as the Notification Email when adding a new class, I think. Again, Sharon Dennis may have a more clear idea since she has worked to implement this with both MCR and PSR. This is also something that will need to be checked on for each region to make sure it is working properly.
In gmr/training/register.html there is the following line:
$headers.="Bcc: sdennis@library.ucla.edu\n";
I commented this out. The same can be done (or this line removed/changed) for other regions...
Great! Is this something that each region can control to put in a default email to always bcc? Or is this something that is part of the database? I looked at the code using the View Source feature on Firefox and couldn't find any line that says $headers. Each region will probably want to handle it differently, some may want to use this and some may not, just need to know where/how to put it for future reference.
This is only visible from opening that file on the server and viewing the php code in it (not the rendered html). I guess this is part of all the other setup that needs to be done to bring a region onboard....
This email address (if used) can be found in the registration page for each region....
see: https://sourceforge.net/tracker/?func=detail&aid=3220433&group_id=350023&atid=1463188
for info about reg pages
I added the following note to our wiki on how to use the system in regards to this BCC field:
When users click the "Register" link to register for a class they receive an automatically generated e-mail telling them that their information has been received. This e-mail can have a default set in the system to bcc a copy of each registration to one email address for monitoring. This must be done by the NTC web programmer. If no default address is supplied, each individual class can specify a notification email where the notices will be sent for only that class. While the actual registration page itself is controlled by the Region/Center and can be edited as needed, the auto-response must currently be customized for each region by contacting the NTC.
The bbc was identified and corrected for the GMR
Interesting. Is there a way to bcc the confirmation email as well? Or any potential bounce? That would take care of the latest bug I just entered.