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: 402
Registered: ‎11-26-2010
My Device: Torch

How to get the address of outgoing email message

Is there a way yo listen for outgoing mail and be able to programaticaly get the email address of the receiver(s)?

----------------------------------------------------------------------
Press the button to give kudos if I helped you Smiley Happy
Developer
Posts: 16,987
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to get the address of outgoing email message

if i remember the samples correctly you use a http://www.blackberry.com/developers/docs/7.0.0api/net/rim/blackberry/api/mail/event/FolderListener.... on the sent folder to detect sent mails.
retrieve the message object and get the target address.
----------------------------------------------------------
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