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

(5PCS) M24C32-XMC5TG IC EEPROM 32KBIT 400KHZ UFDFPN8 24C32 M24C32
$4.93
(5PCS) M24C32-XMC5TG IC EEPROM 32KBIT 400KHZ UFDFPN8 24C32 M24C32 picture(5PCS) M24512-DFMC6TG IC EEPROM 512KBIT 1MHZ 8UFDFPN 24512 M24512
$7.41
(5PCS) M24512-DFMC6TG IC EEPROM 512KBIT 1MHZ 8UFDFPN 24512 M24512 picture(5PCS) M95256-DFMC6TG IC EEPROM 256KBIT 5MHZ UFDFPN8 95256 M95256
$7.45
(5PCS) M95256-DFMC6TG IC EEPROM 256KBIT 5MHZ UFDFPN8 95256 M95256 pictureFANUC MEMORY BOARD 6B ROM EEPROM PCB FOR CNC A20B00080480
$3.99
FANUC MEMORY BOARD 6B ROM EEPROM PCB FOR CNC A20B00080480 picture(1PCS) M24LR64E-RMN6T/2 NFC/RFID 64KBIT EEPROM 13.56MHZ M24LR64E-RMN6T 24LR64 M2
$2.04
(1PCS) M24LR64E-RMN6T/2 NFC/RFID 64KBIT EEPROM 13.56MHZ M24LR64E-RMN6T 24LR64 M2 picture






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