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