Hello,
Im fairly new to
java. Have some experience but not much.
Im trying to use the javamail apis and Im trying to pass variables that Im passing into my constructor into the authentication class. This class is defined as an anonymous class. Ive tried every which way to do this. I know that I have to pass a final
string into the class but it's failing to authenticate. I have tested by hardcoding the username and password and it works. But I cant seem to penetrate the anonymous firewall and pass it the variables.
Does anyone have a suggestion? Please be nice, Im attempting to learn and this is a huge struggle
I have an example. (one of many attempts)
--------------------------------------------------------------------------------------