• Javax.mail sends the same mail even when I change the parameters

    From Emeka Chukwudozie@21:1/5 to All on Fri Oct 7 09:34:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eric Sosman@21:1/5 to Emeka Chukwudozie on Fri Oct 7 21:49:12 2022
    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.

    --
    esosman@comcast-dot-net.invalid
    Look on my code, ye Hackers, and guffaw!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)