Hey guys thanks for the responses
I never tried the debugger because I can't get email setup to work properly on the simulator. I tried to setup my ESS to point to my gmail smtp and pop server but it just wouldn't happen. So I uploaded the code onto the BB to see how it works but for some reason it just alerts any emails not just the ones with the subject line. I'm stumped...
Doug - I don't understand what "newConfiguration" is doing, I just left it as is to test out the sample. I'm pretty new to BB development (1st week) so any help is appreciated. Thanks!
Code:
/**
* It is likely that the following call will return a separate config object for each SourceID, such as data
* that describes user set notification settings. However, for this example, we a trivial, arbitrary conifg object
*/
public Object newConfiguration(long consequenceID, long sourceID, byte profileIndex, int level, Object context) {
byte[] myConfig = new byte[] {'m', 'y', '-', 'c', 'o', 'n', 'f', 'i', 'g', '-', 'o', 'b', 'j', 'e', 'c', 't'};
return myConfig;
}