Yes, I have changed the contents of email.properties and the results changed to match my changes. I also tried renaming recipients.txt to recipients.properties and interestingly (I thought), magically, the InputStream is no longer null and the app works. However, I really don't want to name a text file with a bunch of email addresses with a .properties extension since it isn't really properties.
I don't suppose you're on Windows and have Explorer set to hide file extensions for known types? Then "text.txt" would appear as "text", and "test.txt.jpg" would appear as "test.txt". So maybe the thing that looks like recipients.txt is really something else.
Or, here's an alternate approact that might she some light if it yields unexpected results:
In principle there's no reason this will give you any different answer from what you've tried so far. But then, in principle you shouldn't be having this problem to begin with, right? So what the heck...
"I'm not back." - Bill Harding, Twister
Marilyn de Queiroz
Joined: Jul 22, 2000
That was an interesting experiment. Apparently a case of my IDE trying to "help" me by copying .properties files (resources) to the build directory where the classes are, but not copying other files there. Thank you. [ November 05, 2007: Message edited by: Marilyn de Queiroz ]