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

14 views
Skip to first unread message

Emeka Chukwudozie

unread,
Oct 7, 2022, 12:34:03 PM10/7/22
to
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

Eric Sosman

unread,
Oct 7, 2022, 9:49:14 PM10/7/22
to
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.

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


Reply all
Reply to author
Forward
0 new messages