Comments indicating that SMTP does not require authentication are correct. However, all three parameters that you specified are unsafe, assuming that the server uses commercial equipment and software. I will show why each of them is unsafe, although I will not follow your original order.
2) A file on the server on which the password can be read from
3) Somewhere in the MySQL database.
, - ? , . , , , .
. , (, Sony PlayStation Network) , . , , , , (HTTP-, ..) , .
1) , .. String.
, , 2 3. -, .class, Java, . , 2 3, javap, .class.
. , , . , . - , . . , . , , - , .
, , HTTP/ , 1 , HTTP/ .
: ", ". , , , . . , , , - . Kerberos KDC ( ), , , , , .