views:

38

answers:

2

Hi, we have an application that need to interact with mail. For that, our customer want us to : - Retrieve the Activesync parameters the user have entered on the general parameters of the phone. - Send the mail in a silent way using these activesync parameters. - Be able to read and parse a possible reply to the mail on the Exchange server.

I know that it may cause severe security issue (retrieve a private password from an application is not a good practice..), but i can't find any clue on the sdk to communicate and send mail via activesync.

If anyone have some informations, i would be glad to hear about it.

Thanks a lot

Antoine

+1  A: 

So, you want to send the email without any user intervention (in the background)?

Check out this article:

http://jondev.net/articles/Sending_Emails_without_User_Intervention_(no_Intents)_in_Android

xil3
A: 

Sending an email without any user intervention is just a part of my whole problem.

I thought that i may use mailbox and activesync as a ContentProvider of some sort, where i can read and write email from my application without having to play with javamail or other third-party libraries, but just by having the built-in client taking in charge the read/send mail part of the process.

As i can see, there are several apps in the apps market that are mail-clients supporting exchange and activesync. Any idea how they rely on the built-in EAS support?

Thanks a lot for you answer anyway :)

Antoine

Antoine