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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 3
Registered: ‎05-14-2012
My Device: 9630
My Carrier: Telus

Message Sending ( not standard way ).

Hi All.

I would like to create email on BlackBerry without creation on the Outlook / Account side ..

I need to create a message , send it and delete...

I don't need to have it in outlook side.


First solution was to delete it in both places ( request some settings change in outlook ).

But it's not good solution for the client.. He used this option already to NOT delete emails

on outlook by deleting them on BlackBerry...


So I need to find a solution how to Create message and DO NOT save this message in Outlook.


This is how currently we create send a message...



			Store store = Session.getDefaultInstance().getStore(); Folder[] folders = store.list(Folder.SENT); Folder sentfolder = folders[0];

			Message msg = new Message(sentfolder);
			Address RecipientsList[] = new Address[1];

				String emailAdress = GET_EMAIL_ADRESS_TO();
				RecipientsList[0] = new Address( emailAdress , emailAdress);
				msg.addRecipients(Message.RecipientType.TO, RecipientsList);
				String MessageBody = GENERATE_MESSAGE(event);

				return 1;


Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Message Sending ( not standard way ).

as long as you use an exchange account to send mails they will be synchronized.

you could use another mail account, or you could implement smtp on another mail 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