Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trust a JavaMail API program

 
Amit Shef
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey

I want to use java mail API to build a program but my problem is how the people that will be using the program will trust this program if i'm not getting wrong the java mail API requires a password and the user email.

anyone have suggestions?

Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is "a program"? Desktop app? Mobile app? Web app? Something else?

Any mail client (JavaMail or other) will need the email address and password to access the mail server. If that's what your app needs to do, then you will just have to make it trustworthy and convince people to use it.
 
Amit Shef
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A mobile app
 
Amit Shef
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wait , I won't need any server around so the user needs to know that i cannot even get any access right? Because if there was a server around so i could get the user email and password but i dont need it (The server) so there is no way possible that i can get it right?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is that mobile app expected to do functionality wise?
 
Amit Shef
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Cannot say directly what the functionality is all about ,
But the main thing that i need to know that how is it possible that i won't have any access to the password and user email
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason I asked about the functionality was because I didn't understand (and still don't) your question. Are you asking if it's OK to ask username and password of an email account hosted by some email service provider (gmail for example) from within your mobile app?
 
Amit Shef
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kinda yes ,

And for some that did not understand i will explain again.

Basically what i need to do is to not have access to the user email and password Because of privacy purposes so what i mean by that that me the developer wont have any access , only the user it self can have access and if i got it right i could have access only if there is a server around right?


 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is "it" in "how is it possible"? You haven't said what this app will do with respect to mail. Accessing a server will require a password, that's for sure. If this is an Android app, it may be possible to get access to accounts that are already set up on the device.

i could have access only if there is a server around right?

I'm not sure what you're trying to say here. The server is always around, but you need credentials to access it.
 
Amit Shef
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean by that , that i DON'T Need any access to the user and email password because i don't use Client - server Sockets.

i mean that the only way that i can have the user email and password is if there are client - server sockets that i can get the user info
like

edit = (EditText)findViewById(R.id.edit);

String getText = edit.getText().toString();

PrintWriter pw = new PrintWriter(client.getOutputStream());
pw.println(getText); <------------------------
----------------- I DON'T USE IT so i don't have any access to the user info.

I don't want any Relations to the user Privacy business.

So i just want to read the user email and put in a ListView and that's it.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not really following what you're saying, but I do understand that you do not want to handle credentials. That means you won't have access to the user's email, though, so what you describe is not going to work. Maybe there are other ways to achieve it, but since you haven't said what the purpose of the app is, it's hard to advise further.
 
sai rama krishna
Ranch Hand
Posts: 432
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as requirement what you are trying to develop in your mobile app. Email functionality without access to user credentials?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic