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
  • You can use file or database to store password instead of hard coding it in code Commented Jul 27, 2017 at 10:20

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.