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

NEW Avaya 1151C1 Power Supply Brick PoE VoIP IP Office 700356447 WARNTY
$9.99
NEW Avaya 1151C1 Power Supply Brick PoE VoIP IP Office 700356447 WARNTY pictureNEW Cisco CP-7940G VOIP Office Business IP Phone w. Handset & Power Adapter
$62.95
NEW Cisco CP-7940G VOIP Office Business IP Phone w. Handset & Power Adapter pictureLot of 2 Avaya 4621SW IP One-X Quick Edition VOIP Phone 700426034
$9.96
Lot of 2 Avaya 4621SW IP One-X Quick Edition VOIP Phone 700426034 picturePolycom CX600 VoIP Phone for Microsoft Lync NWOB
$100.0
Polycom CX600 VoIP Phone for Microsoft Lync NWOB pictureAvaya 5410 - digital VoIP phones
$15.0
Avaya 5410 - digital VoIP phones picture






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