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

LEYBOLD TURBOVAC 450 Kat. 85316
$595.0
LEYBOLD TURBOVAC 450  Kat. 85316 pictureNew Electric Desoldering Gun Vacuum Pump Solder Sucker S-998P 100W 220V H H
$161.47
New Electric Desoldering Gun Vacuum Pump Solder Sucker S-998P 100W 220V H H pictureParker Industrial Vacuum Sweeper PV-7705 new Briggs and Stratton 6.5HP engine
$795.0
Parker Industrial Vacuum Sweeper PV-7705 new Briggs and Stratton 6.5HP engine  picturecarpet cleaning vacuum hose 50ft 2" with cuffs new high pressure quantity
$199.95
carpet cleaning vacuum hose 50ft 2NEW Gast Rotary Vane Compressor/Vacuum Pump 0740-V2 Serial No. 0381
$350.0
NEW Gast Rotary Vane Compressor/Vacuum Pump 0740-V2 Serial No. 0381  picture






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