i have such problem. I need to generate users from CVS data, and then send email to user with his login,and password, not at the moment of generation. The problem is, password are hashed and i can only check it, not grab it from database. I have only solution with another table/base with just login/password for the email, without hashing, but it is wrong from the point of view of safety and security. Maybe someone had such task?
Send them a link where they will be able to set their new password - I guess this will be most secure.