Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Can't add accounts in Mail - stuck on "Next"

Hi,


I have recently deleted my IMAP account from Mail (High Sierra), and now I want to add it again.


But when I have filled out all the info (username, password, in- and outgoing serverinfo), it asks which apps I want to use it with. I only have two options: E-mail and Notes. I choose "E-mail" and press "OK". And then nothing happens. I can press "OK" 10 times, at nothing happens. The dialogue box is still there.


Anyone, who has a clue what to do?


Thanks in advance

73 replies

Same Problem. Found the problem (In my case). I had the perpetual "next" button when trying to add an exchange account that I had deleted. 7 hours with Apple support, dozens of different things tried (a few are on this board). This is what worked.

1. Go to user accounts and create a brand new user "test admin" - make it an administrator obviously.

2. Re-start, and log into the test admin account

3. Go to "iCloud" under "system preferences", add your iCloud account under which you have been having problems.

4. Re-start the computer, log back into the test account, go back to iCloud, log out, and log back in

5. Go to "Internet Accounts" under system preferences and attempt to add the problem account. If it won't install, stop reading (you have a different problem than I do)


6. If it works, then you may have the issue that I did.

7. Oddly, the problem was within my "Keychain" - there were conflicting account status within Keychain, and the conflict was sending me through the "next" loop.

8. Log into your original account

9. Finder, Go, "option key" (this shows the "Library" folder), Keychains folder in Library

10. Inside the Keychains folder there are at least two files that conflict with one another. We deleted them all.

11. Restart the computer, log into your original account, Log in and out of your iCloud account, go to Internet Accounts and try to add the problem email or exchange account. In my case, Success!


Good Luck.

Update:


Apparently, I got back my 2nd mail. I made some experimenting on the keychain folde 00004000 r and drag every contents therein (including sub-folders) to the Desktop in case another thing failed.


After that, I restart my mac and go to Systems Pref > Internet Accounts without opening any apps. An iMessage window popped-up saying that I need to log-in my password, but I ignore that and drag the pop-up window aside.


Then I

add the problem email, input my password, select only mail (no other apps), and then, poof, it pass thru the “Next” Button Loop. I now have my 2nd email back in my mac native mail app.


It seems the problem is in the Keychain Folder itself when you are updating your OSX (mine is now Mojave).


Only thing is that I had to sign in again to my iMessage account since the whole keychain folder content is dragged out. But its ok for me since its working now.

I had the same problem with adding a simple IMAP mail account - "next" button in endless loop, could not create it.

Deleting entries for email in keychain did not help.

I took a backup of the user keychain files ~/Library/Keychains

Then followed advice from ED in PA:

1. Open the Keychain Access utility in your Applications folder.

2. In the "Keychain Access" dropdown list, open "Preferences..."

3. Click "Reset My Default Keychains" and follow the prompts.

4. Restart your computer.

Now it was possible to create the mailbox and all old mails was loaded.


But all passwords were lost.

So I imported a backup file by "Add keychain". It seems it does not restore the passwords, but I can look them up in the imported keychain in Keychain app.

(My mac has Norwegian interface, so some of the terme may be misspelled)

I just ran into this when adding a new email account for a new domain and I found a way that worked for me without removing or resetting keychains. I just manually added the account information to my keychain.


  1. Open the Keychain Access Utility.
  2. Under "File" click "New Password Item"
  3. Fill in the incoming server information
    1. Keychain Item Name: com.apple.account.IMAP.password
    2. Account Name: emailaddress@incomingserver
    3. Password: email account password.
  4. Repeat step 3 for the Outgoing Server information changing the Keychain Item Name to: com.apple.account.SMTP.password
  5. Add your account through Mac Mail "Mail" -> "Add Account" or -> "Preferences" -> Accounts -> +


Once you go through adding the account information in the various screens and click "Next" a popup will ask you if you want to allow this account to access your keychain. Enter your Administrator password and click "Always Allow"


Hello Macisforsome,

Thank you for using Apple Support Communities!

I understand from your post that you removed your IMAP email account and are trying to add it back, but the OK button in the dialogue box is not responding. I recommend testing the issue while your Mac is in safe mode and/or in a new user account. The following articles have the steps you will need to test the issue in both safe mode and in a new user account:

Use safe mode to isolate issues with your Mac - Apple Support

How to test an issue in another user account on your Mac - Apple Support

Let us know how it goes.

Best Regards.

I had the same e-mail adress as my Apple ID (not an @icloud.com address) and I think this caused a conflict. Wha tI did was to remove my iCloud Login on OS X and then reset the OS X Keychain. Also did a reboot for this. After that I added the iCloud account again and it added my third party e-mail account automatically. Good luck!

jsfromsweden and mth222 solved it for me. I created a new user and was able to create the email account. Logged back in as myself and deleted the keychain files (as I had nothing in there I cared about) . Again, I was able to create the required email account. Thanks to both.

I was having this problem trying to add a mail (not gmail) account just for Notes. In my ~/Library/Keychains folder, I found a subfolder with a long hexadecimal and hyphens name. I deleted that subfolder, logged out, and logged back in. I was then able to add the account, without having lost any passwords from my keychains.

To find out if it's system wide or user specific, try this...


Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.


Does it work in the new account?


Possible eMail fix…


https://discussions.apple.com/thread/8393897?answerId=250408740022#250408740022


Also...


Cant create re add Mail


James Walker1




User level:


Level 1


(129 points)


Notebooks


Speciality level out of ten: 0


Mar 1, 2019 10:39 AM in response to if240


I was having this problem trying to add a mail (not gmail) account just for Notes.  In my ~/Library/Keychains folder, I found a subfolder with a long hexadecimal and hyphens name.  I deleted that subfolder, logged out, and logged back in.  I was then able to add the account, without having lost any passwords from my keychains.

This worked for me - I renamed my existing keychain folder and then logged out and back in again. I jhad to re-enter all of my saved passwords and sign into everything, but after that it worked.

There's a very simple fix. My problem was the same as the Original Poster: clicking "Next" does nothing.


(Before following these steps, make sure you remember all the passwords for your accounts, because the saved passwords will be deleted.)


This is what worked for me:

1. Open the Keychain Access utility in your Applications folder.

2. In the "Keychain Access" dropdown list, open "Preferences..."

3. Click "Reset My Default Keychains" and follow the prompts.

4. Restart your computer.


You will be prompted to re-enter the passwords for all your e-mail accounts. If you were having trouble adding a new e-mail account, it should work fine now.


As another poster on this thread has mentioned, the problem is a conflict in the keychain, which creates an endless process loop at the "Next" button. The problem gets fixed when you reset the keychain. Using the above steps is safer than going into your keychain library and just deleting a bunch of files.

I have read all the replies queries. here is a conclusion i drew:
you have had your account configured earlier. You were stuck at some point for which you had to reconfigure your accounts back to Apple Mail. But your account fails at a certain step.

can you give one more thing a try?
go to your desktop screen. click on Go>Go to folder

now locate ~/Library/Mail/V5/

You can find a few folders with names as long hexadecimal codes. These are your files that represent the profiles that were ever configured to your Apple mail. move them to trash.

I feel these local files of your emails might be interfering the second time you are configuring your account.

rever to me if that really works. i am just assuming.

To find out if it's system wide or user specific, try this...


Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.


Does it work in the new account?

The hint with the Keychain saved my day.


I have changed the password of my email account, but Mail does not save the new password for the SMTP server. Therefore I removed the email account and tried to add it again, but then it hangs at the window where I selected only to sync my mails and not the notices etc.


I closed Mail and opened Keychain. There I searched for all entries that may relate to the email account and I removed them. Then I started Mail again and adding the email account works fine.

The problem occurs when you click "Done" in your last screenshot. Nothing happens.


We are quite some people, who has this problem, so I'm 99% sure its a common flaw in the latest version of MacOS in certain settings.


Apple should really attend this issue. Right now I dont use my iMac for work because of this incredibly annoying issue (dont wanna install another mail client at this time).


A workaound is to add another useraccount as administrator and try from there (works for me) - but then you will have to transfer everything.

Hi John,

I agree with all of the above, apple is not what it used to be. I had the same problem, tried everything and finally got it solved before the Mac went out of the window. Well, you might not be happy with how to fix this problem, but I share it with you and then you decide;

1. Back up all your files, don't use time machine, you won't be able to read your files later.

2. re-install high Sierra from scratch, don't use repair, time machine or any other solution, install as new, I hope you know how to do this, cmd+S when you start, format your disk, install high Sierra as new.

This was the only way I found fixing the problem.

Good luck, Preben.

Mth222's solution worked for me. I was rebuilding a 2012 iMac and could not install my email. I have simply set up a Test Admin account as recommended - and added the email to it. Now I can change the Test admin account to be the master and delete the original

Are you able to login to gmail.com in a browser?


From which location have you deleted mail account is it from system preferences - internet accounts or you have opened mail preferences > accounts > then deleted the account .

Some information is required is it a gmail account and are you also using iCloud mail account ( is iCloud Keychain also set up ) .

A screen shot of internet accounts could help ( please hide your mail address before posting ) .

The same thing is happening to me too. The issue seems to be with the "Internet Accounts" preferences control panel. It just won't work anymore.

User uploaded file

I did have a Gmail, Yahoo, and Outlook account on there. I deleted them and tried to reenter them, only to have them hang on the "Next" button after entering the passwords. This is a very serious issue. MacOS's internal internet functionality is basically broken. The only way to bypass it is to use a 3rd party app that doesn't use this control panel. Postbox and Airmail are perfect examples of email apps that work correctly.

Please post screen shots of system preferences - of internet accounts , click on iCloud and the screen shot of it also .

Hide mail addresses .

You wrote - Either iCloud and gmail works perfectly. Problem with simple mail account.

You have either deleted the iCloud account or have not yet set it up , from the location system preferences > internet account.

The simple gmail account address is kept same as your apple mail address .

See some articles Sign in with your Apple ID - Apple Support

macOS Sierra: Set up iCloud on your Mac


In case if I cloud account and gmail account is deleted see this method to set it up .

If you delete both web mail account ( say gmail account ) and iCloud mail account from system preferences > internet accounts .

( a ) when you select web mail account and click on minus sign , it will prompt are you sure you want to delete the account ( 1 ) cancel ( 2 ) ok and you click on ok the account will be deleted .

( b ) And if you delete iCloud account ( 1 ) do you want to keep a copy of your iCloud data on this Mac before signing out ?

Cancel , keep a copy , so click on keep a copy .

Do you want to keep a copy of your safari passwords on this Mac ?

( 1) delete from Mac .

( 2 ) cancel

( 3 ) keep on this Mac .

So , click on keep on this Mac .


It will prompt to enter Apple ID password to turn off find my Mac , so enter and click on continue .

Do you want to keep a copy of your iCloud data on this Mac before signing out ?

If you don’t keep a copy , your data will be removed from this Mac but will still be available on other devices using iCloud .

( a ) the box for iCloud Drive is checked ( b ) the box for contacts is checked .


Now , open apple mail application , choose a mail account provider and select google click on continue , enter your web mail address and password and click on next , check the boxes of mail , contacts , calendars , notes and click on done .

The gmail account has been set and mails will start downloading .


Open system preferences and click on iCloud , a pop up window will appear iCloud lets you access your music , photos , contacts , calendars and more on your devices , automatically .


Sign in with your Apple ID and click on next and enter your Apple ID password .

( a ) check the box of use iCloud for your documents and data

( b ) use find my Mac

( 1 ) back ( 2 ) next so click on next .


A pop up window will appear allow find my Mac to use the location of this Mac

( 1 ) not now ( 2 ) allow so click on allow .


You have to enter your Apple ID password to set up iCloud Keychain and click on ok .


A pop up window will appear to set up iCloud Keychain on this Mac , request approval from one of your devices using iCloud Keychain .

( 1 ) use code

( 2 ) cancel

( 3 ) request approval

So , click on use code .


Enter your iCloud security code and enter the iCloud verification code sent to your trusted mobile and click on ok .


After some time , the box for keychain in iCloud will get checked , also check the box of Siri and make sure back to my Mac is always unchecked .


So , both web mail account and iCloud account are configured .

See this article macOS Sierra: Internet Accounts System Preferences

If you don’t yet have an account from a particular provider, such as Yahoo!, create one on the provider’s website, then add it here.

The article itself is showing the method for configuration , also the same mail address in your case gmail address can not be used / added for the second time .

So its better to first create a gmail account on their web server see this article Create a Gmail account - Gmail Help

In your screen shots you must consult the internet service provider .

If you want to add an account from a provider that isn’t listed, such as a mail or calendar account for your company or school, click Add Other Account on the right, click the type of account you want to add, then enter the requested account settings. If you don’t know the type of account or the account settings, ask the account provider.

Also you wrote , you signed in system preferences > internet accounts with gmail address before sign in with your Apple ID , try the method what suggested .

you are not using gmail account , it seems some vpn service or not sure which mail service is used , you have to ask the internet service provider ( is it pop account or IMAP account ) . it is not necessarily a bug .

I have the same problem. I can easily add a new email account, but I can not add one that has been removed. And just as several others I removed it as Mail just wouldn't synchronize my account, stating that either account or password was incorrect. Not so much. So annoying.


Installed another email client om my Mac and it works fine, embarrassing for Apple not fixing this problem.

UPDATE: I spoke to Apple Support, everything they tried did not work. I was escalated to a Senior Apple Agent who advised that this seems to be an issue for Google (although I am not convinced it is) and I should update my OS.


So far I am reaching 7 hours of trying to fix this issue. Beyond frustrated at the moment.

Hello,


I have the same issue. Safe mode did not help to solve the problem, i.e., neither safe mode can help to add a new account.


If this is a new bug, it is quite annoying, and if there is no solution to the problem, I have to use another mail client.


Best regards,

Aleksandar

Sorry, i made screenshot before loggedIn iCloud.
I'm trying add email account (not iCloud and gmail).

User uploaded file

it successfully checks email/password.
User uploaded file


So after i pressed done appears next window:


User uploaded file



click on 'next' button doesn't do anything.

Hello,


I do not see how this method would help. You still have to go to Preferences, Internet Accounts to add an account. But it is stuck on after you select the apps for the new account.


It is a serious bug.


Regards,

Aleksandar

It seems this issue is with your Mac , in my Mac I open system preferences > internet accounts and click on plus sign it prompts to enter web mail address and its password , this is an example screen of my family member that is added to the Mac and it joins easily .

User uploaded fileUser uploaded file

I've got the same problem. Started with Mail not picking up Gmail. I removed the account from Mail and tried adding again but it wouldn't add. I can access Gmail on my phone and via browser but not with Mail. Then iCloud started acting up and now I can't access it either via Mail. Mail still can access my Hotmail account but won't let me add Gmail. Up until today, everything has worked for the past 5 years perfectly. I've followed the suggestions posted by Apple and others but nothing works. There's obviously a bug in Mail. Unless it's fixed soon, I'll be looking for another email client. Please get this fixed, Apple!

Another one with the same problem, had several severe problems with my Mac lately, seems like apple is loosing it, and I read all the replies apple comes with and it seems like they don't even bother to read the question before answering a bunch of crap. after iPad, iPhone, Mac, I really start to look into other makes, maybe they do care about their clients, smaller companies usually does. Did apple even find an answer to this problem, I don't see they did, just ignoring you.

Some problem here. Does somebody already know the solution?


I've already spent a lot of hours trying to fix this, but nothing seems to work. It's really annoying, because like so many, mails are an important part of my mac.


If it doesn't get fixed, I'll have to give up my mac unfortunately, and all other apple devices will follow.

I have the same issue... I can't set up an Optonline email account using "other" . After entering email address and password... I select Mail and Notes (only options they present) and hit Done... The "Next" button turns blue.. I hit it and nothing happens... Extremely frustrating

*sigh*...I have the same problem. Glad to see it's not just me...but would be really nice if there was a fix for this! I had noticed my iCloud had stopped syncing my files. Turned off the account, tried to re-add, couldn't do it...same issue as reported. Tried adding a different email address from my work...same issue, button just keeps saying "Next". So frustrating!

Not that I have an answer. But Ditto on the problem. Interestingly, I downloaded a free program "spark" and was able to install the problem accounts. It's happening with Exchange, an email server that is run on Zimbra. I am certain there is a problem in the "Mail" software

Dudh wrote:


is anyone from Apple Support team monitor this forum? if many people are having this issue then I would think that this is escalated and Apple should be looking into this with high priority.

This is a user-to-user technical support forum. Apple monitors it only for the purposes of making sure people adhere to the terms of use. The people who do that are not part of Apple Support.


If you want Apple to know you specifically have a problem, use the Contact Support link at the top right of every page of these forums.


If you want to submit feedback (you will not get a response but everything will be read), use the Feedback page:


Product Feedback - Apple

Your 7 hours of **** paid off for me as well. I was holding out, hoping that maybe installing Mojave would resolve the issue, but alas it did not. Followed your directions for creating the other account and testing, then deleting the keychains worked for me. Thank you for sharing!

I recently update my OS to mojave. Does this method work on mojave or only for High Sierra?


Anyway, I was able to add the problem email (my 2nd email) to the ‘Test Admin’ account but when I restart & go back to add the problem email to my Main Account, it is still stuck in the ‘Next’ button loop.


In your step to remove all items under keychain folder, do you mean ‘ALL’ that are under this, including any sub-folders?


As you mentioned, the problem exisist in the keychain and I already removed the files under keychain folder except the sub-folder w/bunch of other files.

I have the same issue with a pop account - just migrated to the new macbook air - and though my pop account was there - it wouldn't work - and when I try to delete it and re-add - I get in this same loop - was there any resolution to this?

Thank you! This has been driving me mad. This worked, though a bit of a palaver and I wasn't sure what you meant by 'conflicting status accounts' in keychain. I deleted a couple of likely suspects and bingo!

I did this and was asked to login to all my email accounts again. I now am asked to enter my email and click "Next", where I am stuck on the same pop up screen for ALL MY ACCOUNTS!!! I can't reach the password entry screen. I was denied access on one account and trying this solution I am now denied access to ALL. Extremely frustrated. I am left severely crippled in managing two businesses, that each use multiple emails. The Mail apples once a great way to streamline my communications. That seems to no longer be a reality for me.

I am having the same exact issue as outlined above. When I create a gmail account as soon as I select the "Done" button on the page with "Select the apps you want to use with this account". Nothing happens. Please help!

Exactly the same issue as many others. One gmail based account started acting up, continually asking for password, but not allowing you to put it in. I deleted it, but can get it ok on my phone or if I log in via gmail in browser. Same now happening for two other gmail based accounts. I have deleted them from my mail app, with intention of re-installing them - but it won't let me do that. Gets stuck on the first screen as soon as you put the email address in and press next....


This is obviously some sort of bigger issue with the app as so many of us have the same problem.


Its annoying, but the fact calendars aren't syncing too is my big concern....so many appointments that only exist in that app etc. Does someone have a simple straightforward solution or do I need to go to a genius store or something?

Amazing advice Mth222

This worked for me!!!

So pleased I found this thread!

I had to resort to GMAIL in web browser for a day whilst researching what I had to do.. and spent about 2 hours this morning following all the steps above.

Cannot recommend it enough to others having the same issue!

THANK YOU!!!!!

Yes. I had to authenticate and then I had to authenticate a 2nd time. Due to their 2step verification. We’ll see if it sticks this time.


However I am unable to add imap or pop accounts. After you get to the screen where you put it outgoing and incoming servers hit continue and the wheel just spins and nothing happens.

Hi,

The same issue. I've tried add a few accounts and for all of them was the same behavior, i.e. 'next' button didn't do anything.

Either iCloud and gmail works perfectly. Problem with simple mail account.User uploaded file

Its a standard imap-account (as stated in the first post ;)), and og works on my PC and iPhone.


It is definitely a bug, I'm afraid.

I got the same issue. Haven't found any solution yet. Apple!?

This has been the only solution that worked thus far. Tack så mycket!

I am facing same problem but i am trying to add Exchange account. i have two exchange account (work and school) and can't add any of them. I have 2 x google accounts and they are working fine.

is anyone from Apple Support team monitor this forum? if many people are having this issue then I would think that this is escalated and Apple should be looking into this with high priority.

I'm having the exact same issue. I need my Mac for work and use multiple email accounts. I guess I can delete Mail and use a different email client? 100% bug.

Awesome. Im glad my 7 hours on the phone with apple support was helpful to someone beyond me.

Good to hear. Re-entering all of your keychain passwords again is a pain, but not worse than an email account that won't install.

My mac was stolen yesterday and I spent the entire day with this issue on my old one. You, my friend, have saved the day.

You saved my life and my Mac 😀 thanks a lot for your hard work!

Thanks for letting me know.

You bet, my pleasure!

Good work. :)


Great, thanks for the tip! :)

Wow, great work, thanks. :)

I have the same issue and have tried lots of the suggested fixes... when I hit done it freezes... this is a Mac bug and it must be real serious cause it hasn't been fixed for months and months....

I have tried all the solutions in this post and not one of them worked for me! I can't get gmail or imap to work.

I have no issues on my other Mac with same os.

Tried all this already. No joy.

Same problem here. Get to "next" and nothing. The updated from High Sierra to Mojave DESTROYED my boot drive. Lost my Windows boot option and now this. Terrible Apple, just terrible.


I had the same issue. I deleted my Gmail account due to an error i was receiving. I tried adding the gmail account back to "Mac Mail" and once I got the the final step of "Done" it would not process to the next step of adding the account. I tried this method of "reseting the Default Keychain" and was able to add my gmail account to "Mac Mail" successfully. You will have to re-add your other mail passwords. But a very small price to pay for a solution. Give this a try if you are having the same or a similar issue. Thank you "ED in PA" for the solution.

So far, deleting the hexadecimal files at "~/Library/Mail/V5/" is working. Thanks. 😎

If you are using a network monitoring program, make sure that "usr/libexec/trustd" is not blocked. It worked for me :)