Android Question eMail without ask password

luke2012

Well-Known Member
Licensed User
Longtime User
Hi to all!
Actually I'm using smtp object in order to send a mail in the backgroud.
In this scenario I must ask the account password to the user but some users tell me that don't like this thing.

There is another way to send the eMail in the background using the current android account but without ask the password to the user?
 

giga

Well-Known Member
Licensed User
Longtime User
Just my thoughts.
Not Sure you can, As you know passwords are required for email accounts. What you may be able to do is setup a "app type email account" and distribute it with your app and use it as the the sending account. There are downfalls though. This would not have any current android account info in it.

Hope that helps.
 
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
Not directly. You can follow giga suggestion, or call a web service that will send the mail for you.

First of all,
thanks for your suggestions!

Solution A "App Type eMail Account": @giga what you mean with App Type eMail Account ?
If I understand well you mean an app that manage the mail's send requests that came from my app. Right ?

Solution B "Web service" : @Erel What about using a web service ? There are existing web service for that purpose?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…