Second version of php_register_email