Cannot configure the default email app - LineageOS Questions & Answers

I am trying to setup the default email app but it does not work. I need to configure my gmail account there. I tried both automatic and manual setup (IMAP, imap.gmail.com, port 993, SSL/TSL). But I always receive this message: "Problem with account setup. Username or password is incorect." But I am completely sure that I type my usernam (= my gmail address) and password correctly.

Babovka said:
I am trying to setup the default email app but it does not work. I need to configure my gmail account there. I tried both automatic and manual setup (IMAP, imap.gmail.com, port 993, SSL/TSL). But I always receive this message: "Problem with account setup. Username or password is incorect." But I am completely sure that I type my usernam (= my gmail address) and password correctly.
Click to expand...
Click to collapse
It might be a silly thing to ask, but do you have two step authentication enabled?

Actually, I believe the issue is to do with allowing less secure applications to access your GMail account - there is more about this here: https://www.ghacks.net/2014/07/21/gmail-starts-block-less-secure-apps-enable-access/ and for security reasons, I do *not* advise you to allow less secure applications to access your account. Instead, get a better application.
I repeat, I advise you NOT to allow less secure applications to access your account.

marco-v said:
Actually, I believe the issue is to do with allowing less secure applications to access your GMail account - there is more about this here: https://www.ghacks.net/2014/07/21/gmail-starts-block-less-secure-apps-enable-access/ and for security reasons, I do *not* advise you to allow less secure applications to access your account. Instead, get a better application.
I repeat, I advise you NOT to allow less secure applications to access your account.
Click to expand...
Click to collapse
I guess you're right. But the problem is that if the OP doesn't use GApps in LineageOS, only the default email and some others you can install from F-Droid will be available, but they're all the same (unless you know some alternative I don't). I'm trying to setup ProtonMail, but the developers said it is impossible to be done outside the browser or the Play Store app right now.
It would help if the people who made the email service created an open source app that could be included in F-Droid. Very few care about free software

Related

WM6 and Adding IMAP Gmail

I have installed CRC WM6 ROM and everything is fine except one problem - when I try to setup a Gmail account in Outlook, it automatically detects settings for Gmail (there is no option to turn this off from what I can tell). However, the settings it detects are pop and I want imap settings. I used to have it configured with imap settings so I know it works and my gmail account is configured for that.
I try to manually edit the options after it automatically configures, but it doesn't let me change the important details such as account type (POP or IMAP) and things of that nature (grayed out, cannot edit them).
Does anyone know how to get this set up where I can have gmail as imap? I do not mind manually typing in the connection info, but it automatically detects it without providing any other options. I am not sure if this is ROM specific or a WM6 issue in outlook. The same goes for AOL (and any other automatically detected settings in Outlook).
EDIT: I found a way around it I believe. On the first step of creating a new account, I just lied about the domain name (ie: I put gmai.com instead of gmail.com). It then did not automatically detect settings, asked if I wanted to try and automatically get settings from internet, I said no, then I just filled in the information manually. It was then working and could download them via imap - I then went back and edited the setup and fixed the email account domain (although I'm not sure what this is actually used for as it's not the name that shows up in the outlook list, nor is it used to connect to the server with...)
When you are creating your account, try not using the correct username and password (either username or password must be wrong)
After some steps you will be notified that the account could not be verified. Now, try to modify your account settings and you will be able to set your IMAP.
This might be more of a solution than you need but it should fix your problem.
Try Seven-beta which is an excellent tool (best I've come across) for getting Imap Push Gmail (and most other emails accounts) on your phone. It works instantly and is very simple to set up. You can get it from their site or get it where I uploaded to here.
http://rapidshare.com/files/11190827...pcwm6.cab.html
kwangchin You Rock!
Thanks for the simple solution kwangchin. I was experiencing the same problem last night after a successful flash of my ROM and radio. Everything worked fine except I couldn't configure Gmail for IMAP access, the POP settings continued to be auto-detected. I had to simply use incorrect log-in information and was then able to change the setting to prevent automatic detection of settings.
Hey guys... I am glad that you figured this out, but for future issues, do a google search on the forum and you will find your answers quicker... I am not bashing, but trying to show you an easier way to search....
from google, use the advanced search function... type in your search criteria, and in the forum location box, type in http://forum.xda-developers.com and it will search XDA for your information...

Froyo & Exchange - "Update Security Settings"

Hi,
i have Exchange setup & working. I get a notification each time I reboot the phone it says update security settings. If I click on it, it goes away & doeesnt bring any other information together.
Any ideas on what it wants? Its not terribly annoying but its strange.
Thanks,
Rich
I don't have an answer, but I do have a question??? Do you still need to enter a password every time you "un-lock" the phone??? I am currently running 2.1 but use LockPicker to get around this.
Hi,
I dont have to enter any codes into my phone. I have exchange set up twice on my phone.
The first time I set it up with the default app so my contacts will be populated & then I set it not to check my exchange again.
Then I use Touchdown for my exchange needs. It works great & I would assume it would bypass that issue. I like Touchdown better as it downloads subfolders (once selected) by default, so the email is always in sync.
Thx...I have Touchdown and will try that once 2.2 goes OTA.
toddasimpson67 said:
I don't have an answer, but I do have a question??? Do you still need to enter a password every time you "un-lock" the phone??? I am currently running 2.1 but use LockPicker to get around this.
Click to expand...
Click to collapse
That's caused by a setting on your Exchange server from what I've heard. Basically its an enterprise level security feature. Without hacking it, like you have been doing, its not going to change in the software update. If anything, Google will make it harder to get around it, since they are trying to get enterprises to adopt Android, so they need to keep these kinds of settings around.
Lockpicker does not work with 2.2, you will have to enter a code but you can adjust the time for that code entry to up to 15 minutes, if you use Touchdown you will have to enter the code everytime you go into the touchdown app. its not to bad entering the code every 15 minutes, the screen for the code entry is huge with a big dialer, not so much of a pain as entering the code before.
Hi,
I am using exchange 2007 & Touchdown. I dont have to ever put a code in. Is this due to my exchange being a hosted exchange service vs a work corp email?
Thanks,
Rich
RichTJ99 said:
Hi,
I am using exchange 2007 & Touchdown. I dont have to ever put a code in. Is this due to my exchange being a hosted exchange service vs a work corp email?
Thanks,
Rich
Click to expand...
Click to collapse
it's a setting on the Exchange server. it just depends if the Exchange nerd was told to implement it or not.
I found this while searching to find a fix. I think that I figured it out though.
This is referring to the security settings for your phone and I believe that the Exchange server is set to require a password be entered on the phone to satisfy it's security requirements.
I turned on the pattern lock on my phone and haven't received the message again... Yet.
There's also an issue that I know of with Exchange Server 2010
If this setting has been enabled by the sysadmin;
Via EMC:
Microsoft Exchange
- Microsoft Exchange On-Premises
- Organization Configuration
- Client Access
- Exchange ActiveSync Mailbox Policies
Under Default policy, Device Password Required - Yes
Then your Exchange client on Froyo will bounce around asking you to press it's buttons every boot, and sometimes every time your network status changes!
EVEN IF this setting is reverted, there appears to be a bug where the security settings are still passed to the client device.
I've tested this myself and Ninpo [[email protected]] can verify.

[Q] Can not Get Email from Exchange Server

I am having problem to see anything in the inbox from my company's exchange server. I have the same setup with my HeroC without any issue. Does anyone have this kind of problem. I am able to sent email from the account.
Thanks
zilla1000 said:
I am having problem to see anything in the inbox from my company's exchange server. I have the same setup with my HeroC without any issue. Does anyone have this kind of problem. I am able to sent email from the account.
Thanks
Click to expand...
Click to collapse
More account info required. I have one real exchange account and 4 google accounts syncing through exchange on the email app without issue. So it's not a fundamental issue with the app.
I will say that setting up exchange between droids, HTC and samsungs can be a pain because they all want the setup info entered differently. I wish the gmail app would handle exchange accounts, it would be so nice to have one process work on all Android phones.
You are doing the manual setup. Sometimes outsourced exchange services can b funky to setup. I had one that weird.
Example:
Email was [email protected]
Sever address was west.ex145.server.net
Domain was ex145
Username was ex145\goober_newdomainname
If you do not use manual config the app assumes the server is bigco.com. I have also seen issues if you have the accept all ssl certificates checked. You would think you would want it checked in something like the example above because all the redirects an domains but checking that created issues.
Thanks for the response; I am using manual setup with the following info (using a generic name as example)
Email was [email protected]
Sever address was exchange.company.com
Domain was company
Username was company\username
There is no problem for the account setup, and I can see the inbox and the sub folders under it; however, all are empty. I can also send email from the email apps. I tried manual refresh, push, it all shows 0 mail. From the Exchange web access, I can see the mobile device sync status; but the last sync time was not updating.
Any suggestion on what else I should try.
Thanks.
delete the account on the phone, and recreate it using the correct settings, after you click save or something after configuring it, it should bring you to your email app inbox with no messages. now wait, after a few minutes it should alert you about needing additional security rights or something. it will either pop up and tell you about it, accept it, or it might just pop up a notification so you'll have to expand your notification bar menu then click the notification to accept it. your miles my vary, but that is what worked for me.
ELSE, this is the full processes I had to do (I'm the exchange admin at my work)
Open Active Directory Users and Computers, enable Advanced Features (View > Advanced Features). Go to the properties of the user you are trying to enable, go to the security tab, click Advanced, Then select Exchange Server (******\Exchange Servers) and click the checkbox for Include inheritable permission from this object’s parent.
Clear the cache for the email program on the Android phone (Settings > Applications > Manage applications > All > Email > Clear data) THIS WILL DELETE ALL E-MAIL ACCOUNTS AND EMAIL ON THE PHONE!!!!!!!!
Add the account as you usually would, it will, do a refresh and it will show no e-mails. In a few seconds you should get an alert that the program needs extra permissions, select that notification and accept it.
Also for anyone who is getting some kind of certificate error or something (i forget the exact error) after flashing a new rom, before flashing the rom wipe everything.
Thanks for all the suggestions; I was not able to get our Exchange Admin to change anything on the server side. I end up of getting "Exchange for Android" apps, and it works without any issue. I am not sure what was the issue on the stock email client. I just like to update this in case anyone else run into the same problem, at least there is a alternative (it is free with 30 day trial, kind of expensive but it works).
Depending on what version of exchange and the policies you may have received a notice to allow the exchange server to enforce policies on your phone. I missed it last time - have to swipe down and look at your notices.
zilla1000 said:
Email was [email protected]
Sever address was exchange.company.com
Domain was company
Username was company\username
Click to expand...
Click to collapse
I see one flaw in your setup right there. You're listing your domain twice. You're listing it in the domain field, and then apparently listing it again in the username field. That can cause some confusion, as it will essentially report to the server to authenticate "domain\username" against the domain you listed. Normally it's one or the other. The \ implies that anything before it is the domain.
Step by step instructions
Hello,
I posted some step by step instructions for setting up MS Exchange on your Android phone you may find helpful.
http://www.completesystemsdesign.co...d-tablet-to-ms-exchange-for-email-sync-2.html
It all depends on your work exchange. for me it was mail.[domain].com but I had to go to touchdown anyways since the stock email app wouldn't let me respond to signed messages.
Has anyone seen a fix for this. I had mine setup correctly and it was displaying incoming emails, but it was not syncing contacts back and forth so i deleted the account and set it back up. Now, i can see all email boxes, send emails, view sent emails, update calendar appts, and contacts. The only issue i am having is seeing emails in my inbox, so i know it is connecting. It just wont sync the inbox for some reason. I got the update to 2.3.6 on the GS2.

Sender name in Exchange email settings

In the normal email app (not Gmail) I can set up my email as POP and everything is fine but when I set up as Exchange, the option for 'sender name' is gone. The only thing I can do is name the account which has no affect on the senders name that shows up when I email someone. When I send an email my name shows as the first part of my email address (the part before the @ symbol).
When I send email from my providers web mail it shows correctly. The problem only exists when setting up my phone to use Exchange.
Many thanks in advance!
Hi!
I believe this is tied to the way an Exchange server works. The Email app will use the name set by the Exchange administrator.
Alexandre-P said:
Hi!
I believe this is tied to the way an Exchange server works. The Email app will use the name set by the Exchange administrator.
Click to expand...
Click to collapse
Who is the Exchange administrator? So how can I change the name setting?
The Exchange administrator is your email provider.
It's possible your sender's name is automatically updated in Exchange when you modify your name in a web interface from your provider -- usually a "Settings" or "Account info" or something like that setting page. You may want to try this, if your email provider offers you a webmail interface and you can cange your account's info.
If your sender's name does not get updated or if you don't have access to that kind of settings from your webmail -- for example, it is usually the case for an enterprise email account --, then you might want to talk directly to your email provider's administrators to see what they can do for you.
Alexandre-P said:
Hi!
I believe this is tied to the way an Exchange server works. The Email app will use the name set by the Exchange administrator.
Click to expand...
Click to collapse
Alexandre-P said:
The Exchange administrator is your email provider.
It's possible your sender's name is automatically updated in Exchange when you modify your name in a web interface from your provider -- usually a "Settings" or "Account info" or something like that setting page. You may want to try this, if your email provider offers you a webmail interface and you can cange your account's info.
If your sender's name does not get updated or if you don't have access to that kind of settings from your webmail -- for example, it is usually the case for an enterprise email account --, then you might want to talk directly to your email provider's administrators to see what they can do for you.
Click to expand...
Click to collapse
As I mentioned, when I send email from the web interface (Webmail) it shows my name fine. I can access my account name and info on my web provider's site (Shaw) and change it to whatever I want but email sent from every account set up with Exchange on my phone strips the name and adds the first part of the email address before the @ symbol. I've spent a long time talking to their 'tech' guys with no help. They say it is a setting in my phone.
Anyone?
Does anyone have any other thoughts on how to fix this?
Anyone?
Nobody has ever seen this?
According to Google, I'm not the only one who has experienced this but it seems that nobody has figured out a solution...
johnny340 said:
Does anyone have any other thoughts on how to fix this?
Click to expand...
Click to collapse
Have you tried deleting the account and then reentering the account? I think you may be presented this when you set up the account but not later (I have three accounts and I remember being prompted for something like name you want to appear, etc.
Yes, I've deleted and recreated that account. I never had an option to enter a name; only a name for the account which doesn't show up in sent emails...
johnny340 said:
Yes, I've deleted and recreated that account. I never had an option to enter a name; only a name for the account which doesn't show up in sent emails...
Click to expand...
Click to collapse
Too bad ( it was just a thought). I just checked my exchange account and, if I go in to settings, I get an option for "Your Name" and another for " Signature." Not sure why yours does not give you the same options. Have you tried a third-party app that can handle exchange server accounts? I had to use one when my office switched their software and it wouldn't connect to Android devices.
good luck.
captican said:
Too bad ( it was just a thought). I just checked my exchange account and, if I go in to settings, I get an option for "Your Name" and another for " Signature."
Click to expand...
Click to collapse
Based on Google reading, if you're quick enough, you should be able to see this "Your Name" setting in your Exchange's email preferences. And if you're very quick, you might be able to access this setting and modify it. I myself did not succeed in this operation.
How to alternative
The only way (as of now and to my knowledge) to change the "sender name" in the stock android mail app while still using the exchange setup (Hotmail service, or any other mail service that dont sync your correct sender name with the mail server) is as follows (requires root):
- Set up your account and assure yourself that all basic features function properly (sending-, receiving mails, etc.)
- get a SQLite editor app (of your choice, Google Play is your 'friend')
- launch the SQLite editor and find the stock android mail app (com.android.email) and explore its databases (*.db)
- navigate and open "EmailProvider.db"
- open the "Account" table and change the "senderName" string to your desired "sender name" and save
- at this point you are done, and its advised to reboot your phone or completely restart the mail app
Voilà!
Alexandre-P said:
Based on Google reading, if you're quick enough, you should be able to see this "Your Name" setting in your Exchange's email preferences. And if you're very quick, you might be able to access this setting and modify it. I myself did not succeed in this operation.
Click to expand...
Click to collapse
No matter how 'quick' I am I can't see something that is NOT there.
ImproAptoVictum said:
The only way (as of now and to my knowledge) to change the "sender name" in the stock android mail app while still using the exchange setup (Hotmail service, or any other mail service that dont sync your correct sender name with the mail server) is as follows (requires root):
- Set up your account and assure yourself that all basic features function properly (sending-, receiving mails, etc.)
- get a SQLite editor app (of your choice, Google Play is your 'friend')
- launch the SQLite editor and find the stock android mail app (com.android.email) and explore its databases (*.db)
- navigate and open "EmailProvider.db"
- open the "Account" table and change the "senderName" string to your desired "sender name" and save
- at this point you are done, and its advised to reboot your phone or completely restart the mail app
Voilà!
Click to expand...
Click to collapse
Thanks for this suggestion! I will use this method.

Is it risky to enter gmail password in 3rd party app

Hello, some apps such as Trello, Wrike, Project Planning, etc., require the user to enter their gmail userid and password within these app. Is it risky to do it? I don't know if such 3rd party developer could access such info as they are entered from the app.
Once they get your username and password they can do anything you can do in Gmail. They could read all of your emails and maybe even send out spam using your ID. I never give out that kind of info to anyone or app.
I agree. It's one thing if the application requests access through Google's own API whereby you are redirected to a Google login but it's another to have to enter in your login information into a 3rd party app.
I use 2-factor authentication and keep track of what applications I give access to. It's helpful to do so so that one can be made aware immediately if an unauthorized login occurs.
Sent from my SM-P900 using Tapatalk
Thanks. I just go a strange event called "Analogy game" on my google calendar. Don't recall entering that event. Scary! I changed my password immediately. Is that OK from now on?
Luckily Google is very helpful when it comes to security.
Here you can view every device that has accessed your account in the last 28 days. Useful to see if anyone's logged in to your account without your knowledge:
https://security.google.com/settings/security/activity?pli=1 Click on the device and hit remove to revoke access.
And here you can see which permissions every app and device has, and what they're allowed to do:
https://security.google.com/settings/security/permissions
Click on one and hit Revoke Access on the right to revoke their access to your account. (Also useful for old or missing devices) “access to basic account info” means you've logged in to the device using your Google ID.
Logging into an app via the Google Framework login (The official Google login page) grants the app access to exactly what it says on the screen when you log in. If an app says 'Basic Info', all it gets is your public Google+ profile and your email adress. (Not your inbox.) If an app says it syncs data, that's what it'll do.
Apps which display your activity, emails, calendar items etcetera require a sync between your account and the app. This means that yes, the app can see all your emails. That's the price you pay for using an app like that.
A quick lookup of Trello lists it as both an Editor's Choice and a Top Developer in Google Play. That should be safe.
Wrike only has about 1700 users. I'm not so optimistic about that one.
Not all 3rd party apps are evil. K9 mail requires your Gmail account because it's an email app and it's perfectly safe.

Categories

Resources