how to resend email to new created user with wrong email I created a new user, after several hours the email sent by the system was undelivered because the email was not correct.

After changing the email with the correct email, how can I resend the email? I could not find this.
_user_mail_notify() is the underlying Drupal function that does the work of sending out a user account creation email. You can reference the API doc link on how it's used, then call the function in the appropriate code context (e.g. menu callback, submission function, drush eval, etc.) for your situation.