A list of emails entered into the user_register_notify_mailto field should be separated by a comma, and zero or more spaces.

But when I enter emails like that, they just dont get delivered.

FIX: So in the .module, replace the two lines like:
$emails = preg_split('/,[\w]+/', variable_get('user_register_notify_mailto', $from));
with:
$emails = preg_split('/,[\s]*/', variable_get('user_register_notify_mailto', $from));

Comments

boran’s picture

Status: Active » Needs review
hackwater’s picture

Here's a patch with boran's changes. I can confirm that they work.

hass’s picture

Issue summary: View changes
Status: Needs review » Fixed

I think it is fixed, but it needs some testing.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.