Created
June 13, 2011 21:22
-
-
Save gavinblair/1023745 to your computer and use it in GitHub Desktop.
Drupal - resend activation email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$uid = 120; | |
$user = user_load(array('uid' => $uid)); | |
$op = 'status_activated'; | |
_user_mail_notify($op, $user); |
Worked for me :)
Coolio, wonder what I did wrong then... hmmm
@gavinblair thank you for this. I've created a fork of this to allow Drupal administrators to bulk resend the welcome e-mail from the users administration form: https://gist.github.com/signalpoint/f17c645e44b9379d8320
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Won't send out the password though... I believe it will say "Username is: xxxxx, password is: password" because the string replace won't work properly?