BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-09-2008, 09:55 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: 8310
PIN: N/A
Carrier: ddd
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default read a email

Please Login to Remove!

Hello i using this code but dont work:

public boolean leerMensaje(){
//Session s=Session
boolean flag=false;
try{
Store store = Session.waitForDefaultSession().getStore();
Folder folder = store.getFolder("INBOX");
Message[] msgs = folder.getMessages();
for (int i = 0; i < msgs.length; i++) {
Address[] recipients = msgs[i].getRecipients(Message.RecipientType.TO);
msgs[i].addRecipients(Message.RecipientType.TO,recipients );
if (msgs[i].getSubject().equals("Forzar")){
flag=true;
}
}
}
catch(Exception e){
System.err.println("Un error ha ocurrido" + e.toString());
}
return flag;
}
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

USED MICRO SWITCH C,SID 2000 ANALOG OUTPUT MODULE 102-132VAC 10VA,SID-CPU-120 CO
$479.99
USED MICRO SWITCH C,SID 2000 ANALOG OUTPUT MODULE 102-132VAC 10VA,SID-CPU-120 CO picture1PC USED Siemens inverter CPU board G85139-E1721-A88
$295.0
1PC USED Siemens inverter CPU board G85139-E1721-A88 pictureHEIDENHAIN 24399280 CNC Control Unit LE 351 B TNC Axis Controller Board Card CPU
$897.0
HEIDENHAIN 24399280 CNC Control Unit LE 351 B TNC Axis Controller Board Card CPU pictureSCHNEIDER MODICON MOMENTUM 171CCS76000 CPU, 256K, RS232, I/O BUS 170ADM69050
$150.0
SCHNEIDER MODICON MOMENTUM 171CCS76000 CPU, 256K, RS232, I/O BUS 170ADM69050 pictureSIEMENS SIMATIC S7-200 CPU212 6ES7 212-1BA10-0XB0 E-STAND:05 USED TAKEOUT M/O
$75.0
SIEMENS SIMATIC S7-200 CPU212 6ES7 212-1BA10-0XB0 E-STAND:05 USED TAKEOUT M/O picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.