I've set up my android program to contact the exchange server and check for a list of new emails (along with sending), but surely there is a way to access the exchange global list?
I'm not too sure how it's done at this moment, in the mean time I will be installing a traffic monitoring program to break down the request headers and see all the information which is passed, but if anyone has any insight to this, all help would be appreciated.
I have some code that queries the GAL using ActiveSync. Works on Android.
IMAP, at least in its Exchange incarnation, does not support anything but the regular messages and does not process any contacts, be that the Contacts folder in your mailbox or GAL.
Is using Outlook an option?
Can you use any mail apps that use ActiveSync to talk to Exchange (Mail App in iOS does)?
Related
I am trying to develop an application voip android drawing mainly from the famous application "CSipSimple" and in addition to sending and receiving audio and video call I'll try to draw the position of a client using ip address :the information of geo locations identified from smart phone will be forwarded to the Asterisk server then he charge to store it in its MySQL database.) and therefore access to the asterisk 's console from the device and then those informations of geolocation will be recovered at the request of a customer. Please quelque'un can help me with links or ideas to start I will be really grateful. thank you in advance
What is your blocking problem here?
-For SIP audio/video use CSipSimple.
-From Asterisk, just store the caller/called party IP with the CDR into your database.
-For GeoIP you can use your own database (these kind of tables can be downloaded from various sources) or you can use a service (there are a few xml or json based services providing these info).
-For the display you can use google map (some javascript code will be needed)
I'd like to write a program, probably a servlet or something to run on the a google app engine that I can send an email to. So not a program to send email, but one that can receieve it and parse it.
My question is, what code or API are out there that can receive an email?
Basically on your google app engine you can use an inbound mail service.
Please see this documentation for more information.
http://code.google.com/appengine/docs/java/mail/overview.html#Receiving_Mail_in_Java
You cant send an email to a program, you send an email to a server, so what you are looking for is a way to access an email server via your program. Unfortunately there is no single solution here, you need to configure your program for every different email account/server you want to access. (If you have ever set up an account in outlook or something like it you will get the idea)
For example here is a link to the gmail api, you could use this to access gmail accounts
http://code.google.com/apis/gmail/
You need to have a mailbox to send message there and you could read messages with the code like this: http://www.java2s.com/Code/Java/Network-Protocol/GetEmailMessageExample.htm
This can be done with a built in Java library.
javax.mail
Check out this link. It should be able to help you get started.
This won't work for every mail server, but depending on your setup it might help.
To send an email to a Java program, that program must be running. Generally that means a server style (aka service) receiver is favored.
For the email to be received, the Java service must understand an email protocol. There are a number of protocols, but SMTP is the standard for receiving email. Once you have a service that understands SMTP protocol for receiving email, you have written a mail server.
Note that most people don't care to write a mail server, as a mail client needs to connect to the server and pull the email to make it readable. Keep this in mind when designing the solution to your problem.
I’ve built an app for a client that basically sends a standard pre written SMS to the client of my client’s phone asking for them to get in contact. Now the client would like to be able to send a pre recorded voice message to an answering service with the touch of a button, can this be done, firstly from an Android phone.
I’m guessing it can be done because when I search for an answer all I can find are apps that someone else has written that do just that.
Sometimes development tutorials can be hard to find when it comes to apps as you just get a long list of people trying to sell their apps…lol.
Does anyone know of such a tutorial?r
This is not an answer but maybe could help
I once wrote an application like that for a particular answering service for a particular provider in my country. To leave a message on their device I was basically required to compose an e-mail with a message recorded as an mp3 file and included as an attachment to the mail. I then send such mail to a specific mail address of their answering service. I had to supply credentials for the mail to be accepted. Such credentials (login/password) I obtained first by sending a specific port SMS to their service.
For composing mails with attachment I used an opensource IMAP client for Android (as a jar library added to my project). Don't rememeber which client it was but can find out.
I guess there's no common standard for that but basically all the answering services should do something similar.
Sorry if this info is too vague, I was just given the protocol of how that particular answering service was working and implemented accordingly.
I have a project with a use case where users should be able to send private messages to other users but this should be integrated with their e-mail box. They should be able to send either private messages or e-mail messages from the same screen.
My thought is to use some kind of open-source e-mail server which will dump the e-mails into MongoDB and then have my Java API pull them out and display them on the interface. And when a user sends an e-mail it is passed by the API to the e-mail server.
Is this a reasonable approach?
If you want your own server (not unreasonable in many cases), check out Apache James - an open-source Java mail server with a plug-in capability. Obviously (!) you can use JavaMail to talk to this, pull messages back etc.
Doesn't Gmail do all of this already? If you want email with chat integration,* that's the first solution that comes to mind. Why reinvent the wheel?
*and about a bajillion other awesome features
in my webapplications whihc runs on tomcat on widows i want to send email to many different people
for example whenever a new tutials is uploaded on my site an email shold go to all the registed user on my site.
simlarly whenever some other event occors i need to send the email to some selected users whose emailid are picked up from database.
I want a jar which can be used to send such messages.
I wil pass a array of receipienst to it.
are there some free jars available for this ??
jars shold me able to queue the msgs and send to the recipients
let me explain in detail
You need JavaMail
Check out commons email
The "queue" ability usually requires a SMTP server which traditionally is provided by your Internet Service Provider. You then use e.g. JavaMail to generate all those mails you need to send and forward them to the SMTP-server and let it handle all the details.
If you really, really need to run your own SMTP-server, I believe James can do it (http://james.apache.org/) but I would recommend the ISP approach.