Avoid new user notification on user_save I'm currently importing a whole bunch of users to a site programmically through user_save. How can I make sure that no registration mails are sent to the users?

// Create new user
$newUser = array(
    'name' =&gt; $member-&gt;name,
    'pass' =&gt; $member-&gt;password,
    'mail' =&gt; $email,
    'field_user_fullname' =&gt; array('und' =&gt; array(array('value' =&gt; $member-&gt;navn))),
    'status' =&gt; 1,
    );
user_save(null, $newUser);
I can't find a way to do that. user_save doesn't take such an argument. I believe you have two options.


Emulate the user_register_submit() call by passing your data in as a form instead, this is preferably done with drupal_form_submit(). It just so happens that the example deals with user-registration.
Just kill outgoing e-mails while you import your users.