Import users from spreadsheet does not send an email
-
I think the [Import from spreadsheet] function is supposed to send email, but I think it doesn’t.
I believe what EWD_FEUP_Send_Email needs and what the call to this function in Update_admin_databases.php provides do not match.
EWD_FEUP_Send_Email is wanting 3 inputs
1- an array with user data like thisArray
(
[Username] => vanzelf
[User_Registration_Type] => FEUP
[User_Password] => 34b98fa1111c82da442eb11ad6f3fe5cda756d7b
etc.
[User_Date_Created] => 2016-11-21 16:55:52
[User_Last_Login] => 2016-11-21 16:55:52
)and
2- An array with extra fields like this
Array
(
[First Name] => Array
(
[Field_ID] => 1
[Field_Name] => First Name
[Field_Value] => van
)[Last Name] => Array
(
[Field_ID] => 2
[Field_Name] => Last Name
[Field_Value] => Self
)
[mail] => Array
(
[Field_ID] => 3
[Field_Name] => mail
[Field_Value] => [email protected]
)
)And
3- password data from $_POSTWhat the function is given in Update_Admin_Databases.php/Add_FEUP_Users_From_Spreadsheet is just
(array(), array(), $User_ID)I tried to create a quick fix, but I need to do more digging, I didn’t want to alter the send email function, but I want the Password to be sent in the email as well. And that is retrieved from $_POST.
Just to let you know.
Also the shortcode that is pasted in the editor [user-profile-page login_necessary=”Yes”] I think should be [user-profile login_necessary=”Yes”] ?
That was it.
- The topic ‘Import users from spreadsheet does not send an email’ is closed to new replies.