BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-10-2007, 01:56 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: berlin, germany
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default delete an email

Please Login to Remove!

Hiho,
it's me again ;)
How can I delete an email-message? I read the contents of the mail, an after that i want to delete the message:
Code:
Message inMsg = msgs[i2]; // retrieve the first message
                        // Address[] recipients = inMsg.getRecipients(Message.RecipientType.TO);
                        //Date sent = inMsg.getSentDate();
                        Address from = inMsg.getFrom();
                        String subject = inMsg.getSubject();
                        String txt = inMsg.getBodyText();
                        System.out.println(from+" | "+subject+" | "+txt);
how can i delete that one?

thanks hibbert

Last edited by hibbert : 05-10-2007 at 08:43 AM.
Offline  
Old 05-11-2007, 02:24 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: berlin, germany
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
i found the comment removeMessage(), but how must i use it? I have no idea...
I searched google, here,... but no results...

hibbert
Offline  
Old 05-11-2007, 04:25 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: berlin, germany
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 163
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok i just finde the one line i need
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

Siemens 6ES7 315-1AF03-0AB0 6ES73151AF030AB0 CPU 315
$75.0
Siemens 6ES7 315-1AF03-0AB0 6ES73151AF030AB0 CPU 315 picture Olympus CV-180 Video Processor & CLV-180 Light Source
$4999.0
  Olympus CV-180 Video Processor & CLV-180 Light Source   pictureNEW Rabaud log table for firewood processor
$5000.0
NEW Rabaud log table for firewood processor pictureNEC UX 5000 CPU Card
$195.0
NEC UX 5000 CPU Card pictureDMP XR20-G SECURITY SYSTEM COMMAND PROCESSOR PANEL BOX NIB
$9.99
DMP XR20-G SECURITY SYSTEM COMMAND PROCESSOR PANEL BOX NIB picture






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