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
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

How to create new Email Box for new registered email account.

Quote from the previous forum:


amardeep.jaiman

Posts: 7
From: Noida
Registered: Jul, 2007

How to create new Email Box for new registered email account.
Posted: Jul 29, 2008 6:07 AM
 
Hi,

I want to know , how one can create different Mail box or Folders for different configured mail accouts on blackberry bu using java code. so that all tha mails from different mail accounts can not go to same mail box.

Please suggest me. Its urgent.


It is not possible to programmatically create mail folders from a Java application.  The mail folder structure is supplied by a BlackBerry Enterprise Server and/or BlackBerry Internet Service account.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 23
Registered: ‎07-26-2008
My Device: Not Specified

Re: How to create new Email Box for new registered email account.

I'd like to see this ability added to the API also, it would make some things I'm working on much easier. Maybe for a future version?
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to create new Email Box for new registered email account.

BlackBerry JDE and BlackBerry handheld software version 4.6.0 does add the ApplicationMessageFolder class.  This does allow for creation of a folder that an application can place messages in.

 

Note that you can not create sub folders within a user's existing mail folders.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 23
Registered: ‎07-26-2008
My Device: Not Specified

Re: How to create new Email Box for new registered email account.

Thats great since I'm targeting 4.6 anyway :-D Does it allow for creation of subfolders inside the created folder? (I would imagine so, but it wasn't clear)
Highlighted
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to create new Email Box for new registered email account.

No, all folders are created at the same level.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker