BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-03-2010, 12:25 PM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Programmatic Message Classification?

Please Login to Remove!

Hello,

We will be detecting a user's identity in the organization and the recipients on a new mail before it's sent, and if it's going from certain parties to others, we will challenge them with a few questions to answer on the nature of the email.
Depending on the answers, we want to classify the email programmatically, and then pick that classification up and use MS Exchange Transport Rules to copy to one or another archive based on Exchange's message classification abilities.

The key question at this point is, is it possible in an api to set a classification?
The process of BB admin creation of classifications is outlined on pp 180-182 here
132803_229461_bes5_d_admin.pdf

and the api has IT policy rules exposed, but it is not clear to me if the api currently enables one to programmatically set a stored classification.

But may I ask you,

1) Do you think getString(int id), as in the api link below, is going to return me a particular policy that I could somehow apply to the outgoing email before allowing it to be sent?

2) Would there be a logical place to store the policy in the email? Appending to the subject or body and then stripping on the Exchange server (after using it in Exchange's Transport Rule scheme to determine the archival place) seems hackish.

JDE 4.5.0 API Reference: Class ITPolicy

Ridiculous I am not allowed to post url's without having ten posts...
Offline  
Old 02-05-2010, 02:53 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you clarify this more. Are you looking for pushing default/user-defined attributes through IT Policy to the user's device and then based on those values, performing some classification?
Offline  
Old 02-05-2010, 03:01 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

For 1), getString and other get* provide you value for specified IT Policy attribute.

For 2), an attachment may be useful without disturbing any user data.
Offline  
Old 02-05-2010, 09:05 AM   #4 (permalink)
New Member
 
Join Date: Feb 2010
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Cool RE: Programmatic Message Classification?

Thank you for your reply.
To try to clarify, we are working to satisfy the desire to have certain emails available in an archive, those that the sender agrees constitute information which can then be available on immediate demand. This is part of a large current effort called eDiscovery en.wikipedia.org/wiki/Electronic_discovery underway these days for making information readily available.

I am hoping that one of set of message classification strings can be maintained in the BB database in and be set somewhere in the mail object based on a sender's response to a set of custom dialog choices.

Then MS Exchange Transport Rules allow actions like routing to take place based on MS's classifications. If those are also stored as the same strings, we can copy the emails to one of many archives based on which message classification string was set on the device. This way the same system on BB's can be used that can also govern messages coming through Outlook, where we can use the same classification strings before users send messages from there.

The question is, is there a good place to store the classification in the BB mail object. The header?

Thanks, it sounds like you agree that the getString(int) can return the message classifications an admin sets in the policy database.

Last edited by BBDev47 : 02-05-2010 at 09:07 AM.
Offline  
Old 02-05-2010, 12:07 PM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, getString returns the policy database data.

For the e-mails, BB doesn't seem to have a direct field for user-defined attribute/header fields. You may want to use the name field of Message for appending specific information to it. Something like: messageName(customClassificationHeader).
Offline  
Old 02-05-2010, 04:55 PM   #6 (permalink)
New Member
 
Join Date: Feb 2010
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default RE: Programmatic Message Classification?

The api for mail looks pretty rich.
Looking at the mail and MIME objects, it might be possible to add a MIME part to the header of the mail message that would contain the classification

net.rim.blackberry.api.mail.MimeBodyPart
addHeader(name,value) inherited from the BodyPart class
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





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