Originally Posted by Jamsan
I'm writing a browser application in .NET and would like to be able to send email from it. What I want to accomplish is allowing a user to select an email address from their address book on their HH, and then my app would take over from there. Is there any way to accomplish this?
Thank you !
Sure, this is possible. You'll have to cheat a little and use the Browser API to send a request to your .NET application (I assume you're talking an ASP.NET page). Just send the contact email as a parameter and then display the browser page on the unit.
In your BB application, something like:
String emailString = (your contact email)...
BrowserSession visit = Browser.getDefaultSession();
visit.displayPage("http://yourserver/yourpage.aspx?contactemail=" + emailString);
In ASP.NET, take a look at the System.Web.Mail namespace. I'm sure you can find lot's of examples of this. Of course you'll need to know SmtpServer address to be able to send the mail.
Of course, as mentioned above, you need to have a native BB application that deals with the contact list.
Hope this helps.