On 10/7/2022 12:34 PM, Emeka Chukwudozie wrote:
> I am trying to send users mail upon registration with their new default password but I end up sending the same mail to all users
Broadcasting passwords might lead to a security problem. :)
Based on the information you've provided, my considered diagnosis
is "Something's wrong." I might be able to refine my opinion if
you were to show some of your code -- not the entire ten thousand
lines of registration/validation/whatever, but just the bits where
you get around to sending the mail. Try posting a (complete!) bit
of code that just sends the mail, and perhaps I or someone else
may be able to help you.
Look on my code, ye Hackers, and guffaw!