BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-17-2009, 01:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
baskaraninfo's Avatar
 
Join Date: Feb 2009
Location: Bangalore
Model: 9350
PIN: N/A
Carrier: Telstra
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to set the message type to PIN_MESSAGE

Please Login to Remove!

I have done a custom email application, as default it is considering as Message.EMAIL_MESSAGE. But, now I need to send as a Message.PIN_MESSAGE !

Quote:
Session session = Session.getDefaultInstance();
Store store = session.getStore();
// WHERE TO SAVE THE SEND MESSAGES
Folder[] folders = store.list(Folder.SENT);
Folder sentfolder = folders[0];
net.rim.blackberry.api.mail.Message msg = new net.rim.blackberry.api.mail.Message(sentfolder);
There is a method called getMessageType() to get the type of the message. But, how can we set the message type while composing a message through Java application?

Thanks
Offline  
Old 03-17-2009, 05:16 AM   #2 (permalink)
Knows Where the Search Button Is
 
baskaraninfo's Avatar
 
Join Date: Feb 2009
Location: Bangalore
Model: 9350
PIN: N/A
Carrier: Telstra
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb How to set the message type to PIN_MESSAGE

We have to use PINAddress instead of Address and thereafter the message was considered as PIN_MESSAGE instead of EMAIL_MESSAGE!!

If anybody else have any other alternative way, please post it here
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

HP / Agilent 83595-60078 Motherboard Assy w/ Attached Back Panel for 83590A
$49.95
HP / Agilent 83595-60078 Motherboard Assy w/ Attached Back Panel for 83590A picturePEB-7711VLA Ncr B9305901AB17711824 Ncr 7402 Realpos 70 Pos Motherboard
$70.99
PEB-7711VLA Ncr B9305901AB17711824 Ncr 7402 Realpos 70 Pos Motherboard pictureFanuc Mother Board A16B-1010-0331/02A
$490.0
Fanuc Mother Board A16B-1010-0331/02A pictureROLM 98D4096 Motherboard ASSY 49625 A64625N
$165.38
ROLM 98D4096  Motherboard ASSY 49625  A64625N picture100pcs Motherboard Breadboard Jumper Cable Wires Experiment Test Tinned 5CM TP
$0.01
100pcs Motherboard Breadboard Jumper Cable Wires Experiment Test Tinned 5CM TP picture






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