Hello All,
I'm using the following code, posted by Brad Sears, for sending out activation emails after adding a user via the script on this thread:
PHP Code:
$activateid = build_user_activation_id($newuserid, 2, 0);
eval(fetch_email_phrases('activateaccount'));
vbmail($email, $subject, $message, true);
It works, sort of. The only problem is that the email does not contain the username of the user being emailed (it begins "Welcome, (blank)"). The userid in the links and the email address it sends to are correct, but no username...
Do I need to pass additional variables to these functions?
Thanks!
Tim