Welcome!

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

Reply
Developer
Posts: 96
Registered: ‎06-05-2012
My Device: Developer
My Carrier: Developer
Accepted Solution

notify user after send mail

Hi all,

 

i have a issue in my application i have to hit one service after send mail successfull from my application but i am unable to notify my application after send mail successfull. please help me its urgent for me

 

 

Thanks

Developer
Posts: 16,999
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: notify user after send mail

i think http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/mail/Message.html#addMessa... should do the trick, with http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/mail/Message.Status.html#T... as the field to check for.
----------------------------------------------------------
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
New Developer
Posts: 13
Registered: ‎04-26-2012
My Device: 9800
My Carrier: Blackberry

Re: notify user after send mail

Developer
Posts: 96
Registered: ‎06-05-2012
My Device: Developer
My Carrier: Developer

Re: notify user after send mail

thank simon
Developer
Posts: 96
Registered: ‎06-05-2012
My Device: Developer
My Carrier: Developer

Re: notify user after send mail

Hi simon,

I added folder listener for Sent folder, code is working properly for 9800, but it is not working for 9860 device.
is there anything to do extra for 9860 devices?, please give your feedback on this.

Thanks,
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: notify user after send mail

This is not very helpful: "it is not working "

 

How about you debug the 9860 code and tell us which step is failing and why it is failing?  Perhaps compare with what is happening on the 9800?  This will actually give us some information we can work with.  And you might even figure it out yourself when you look closely at your code!

 

You might like to look at permission issues, as was the problem with this Thread:

http://supportforums.blackberry.com/t5/Java-Development/App-crashing-when-accessing-email-attachment...