Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 5
Registered: ‎10-17-2012
My Device: Bold 9900
My Carrier: LuxGSM

Send mail without save it in sentBox

Hi,

 

It there a way to send a mail by program without saving the mail sent in the sendBox ?

 

Thanks

Developer
Posts: 16,986
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Send mail without save it in sentBox

no.
but you can delete it from the sent folder directly after sending, which should be more or less the same for most usecases.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 5
Registered: ‎10-17-2012
My Device: Bold 9900
My Carrier: LuxGSM

Re: Send mail without save it in sentBox

Thanks

 

And how can I do it by program ?

 

Developer
Posts: 16,986
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Send mail without save it in sentBox

use
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/mail/Folder.html#addFolder...
on the sent folder.
to get that use the session (default session for the default account)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter