I want to create an app for myself that, pressing a button, uploads some text on my Gmail. My app would work like this:
I have my text in a String var
I push a button
The app checks if the "myappnameFolder" already exists in my Gmail inbox
The app sends to my mail address an email with the content of the String var
The problem is that I don't know how to connect my app with Google inbox and how to send myself an email. Is this possible? I've already seen some articles on connecting Google+ account but I didn't find any solution.
Thanks.
To do this you will need to use the Google API Client Library. To learn how to access the Google API with java read here
The java api documentation on gmail labels is here
Related
I want to read and send emails using my own email Id.
I have created and app on portal.azure.com with Client ID and Secret ID/Value.
I want my java app to run in the backend and read emails and also send emails using Microsoft Graph API/SDKS.
I am struggling to get it done since two weeks, I am not getting any solution.
I also put another stackoverflow question but no one replied on it
Read and write Email using Microsoft Graph API Java
I can only provide delegated permissions on the app and not Application permissions which requires admin consent.
So, I am sending links via email from my application. When these are received by another user, I would like the link to be able to open directly in my Android application.
Have been trying to achieve this by using Intents but currently cannot get working correctly.
I'm developing an Android app.
In this app the user can easily log-in via his or her Google email account without any password or anything to my webservice: the user just needs to select the Google email address from a Spinner and - if the email corresponds to an email in the database in the web service, the web service answers 'OK' and sends back the information related to that email address.
Now, I'm aware this is not a safe system because I could retrieve the same information just asking via POST the server with the email address I want to hack but to develop the app faster I didn't pay much attention to that.
Now, I'm going to release it and I would like to improve the android login system being sure that the user is really authenticated with that email in the android phone but I'd like avoiding all the OAuth system if it is possible.
The user is asked to select the email address from a Spinner and that's all.
Is there a way to do so in a safe way and easy?.
I create an application. In this application, the users can send me an email (with gmail, my user and password are write in the script).
Unfortunately, I received several emails from Google warning me that a third party knows my password or other. In fact, it was just someone trying to send me an email. So, I did not receive the email. Can you help me solve this, this part is extremely important in my application.
thank you in advance
Please tell me how do I open he default email client from a lwuit button?
and also predefine its subject and email address.
I know how to use buttons. I would appreciate code for email client. (cant find on internet)
using nokia s40 sdk from eclipse
You can try this, using platform request and the mailto property.
Opening apps from J2ME
Example
My suggestion is, trying to send this e-mail via SMTP.
Take a look on this
Send e-mail via SMTP