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

5100-0072 buffet of buffets medium cherry wood with server, cherry finish,
$370.0
 5100-0072 buffet of buffets medium cherry wood with server, cherry finish, pictureAxis 241Q 0185-001-04 4 Channel Netwrok Video Server h264
$30.0
Axis 241Q 0185-001-04 4 Channel Netwrok Video Server h264 pictureHorses running wild waitress server waiter waist apron 3 pockets
$13.0
Horses running wild waitress server waiter waist apron 3 pockets pictureBlack apron kittens and flowers server waiter waist apron 3 pockets
$13.0
Black apron kittens and flowers server waiter waist apron 3 pockets picture stainless-steel 64-ounce coffee server
$85.5
 stainless-steel 64-ounce coffee server picture






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