I have simplified registration form to suit our needs.

At this stage, registering on the "pre-inscription" page registers a new user, but wp_mail fails...