0

I wrote a code that sends mail through javax.mail. But it requires authentication.And the password of the mail account needs to be changed every month.So if I hard code the password in code,I will have to manipulate the code every month. Is there any way to sort it out?

Any Help would be appreciated!!

1 Answers1

0

There is a number of solutions. The easiest ones are:

Alexey R.
  • 6,081
  • 1
  • 8
  • 25