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

Trusted Contributor
Posts: 141
Registered: ‎02-15-2012
My Device: 9800
My Carrier: Airtel

How to send mail?

Hi, please tell me that how to send a mail.


I am clicking on button and on button click, I want to open "Compose email window".

Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel

Re: How to send mail?

Hi Ankit,


This is the snippet for invoking default email.


synchronized (UiApplication.getEventLock())
                    MessageArguments msgArgs = new MessageArguments(MessageArguments.ARG_NEW,Target_mailId,"Subject","Default msg");
                    Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, msgArgs);

                } catch (Exception e) {



Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10
My Carrier: AirTel

Re: How to send mail?

Hi Ankit,


Before you start new thread please search in the forums, if you not found any solution then create new thread, see this link




Lakshman K

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.