HTTPS clone URL
Subversion checkout URL
- An user friendly account set up wizard with automatic settings detection mechanisms.
- comments account setups
- Delete email account
- Feature sketch pad
- Glossary fqdn
- GSoC 2011 Projects
- Gsoc 2011 status
- Gsoc Application
- GSoC Project Ideas
- Implementation of missing IMAP features and extensions
- Installing adb
- Installing K 9 Mail
- Manual accountsettings
- Manual AccountSetup
- Manual Community
- Manual FolderSettings
- Manual globalsettings
- Manual homescreen
- Manual managingmail
- Manual settings
- Manual Settings ImportExport
- Manuals in other languages
- Microsoft exchange activesync support
- Overhaul database schema and abstraction layer
- The Developers Don't Care About My Issue
- Works with K 9
Clone this wiki locally
K-9 uses WebDAV to communicate with Exchange. As of Exchange 2010, WebDAV is no longer supported. For this reason, K-9 is unable to work with Exchange 2010 at this time. It will be a major effort to correct this issue.
These instructions apply to K-9 version 3.401 and later. Please see below for the original instructions that apply to versions prior to 3.400. Versions prior to 3.401 are known to have issues with Exchange.
The parts of K-9 that connect and authenticate with Exchange were rewritten in version 3.400. These changes were tested with Exchange 2007 using form-based authentication. The following is a basic description of these options. For a more in depth discussion of how K-9 communicates with Exchange, see the following blog post.
- When creating a new account, enter your email address and password in the corresponding fields and press Next.
- On the next screen, press the 'Exchange (WebDAV)' button.
- Enter your Exchange server configuration as follows:
- Security type: select your security type, hopefully 'SSL (always)'
- Port: populated automatically
- Mailbox alias: I have found that you should typically set this to your email address. Leaving it blank will use your username, which also works for some Exchange installations.
The following options are "advanced" options, and users should not need to change them from the defaults.
OWA path: leave this field blank - defaults to
Authentication path: leave this field blank - defaults to
NOTE: Setting your 'OWA path' to "owa" is incorrect! If you enter values into either 'OWA path' or 'Authentication path' and then open an issue, the first thing I will tell you is to leave them blank. Please, save me the trouble.
If you receive a 501 error in your logcat output after K-9 authenticates successfully, try setting your 'Mailbox alias' to your email address. Note that WebDAV is not enabled by default on Exchange server 2007, and must be enabled for K-9 to work. If you receive a 403 error in your logcat output, chances are WebDAV has not been enabled.
K-9 Mail is only known to work with Microsoft Exchange 2003 with "basic authentication". If you have configuration advice that you can provide for other environments, we'd appreciate the contribution.
Let's say this is how you login to the Exchange webmail interface / Outlook Web Access:
- URL is
- username is
You can tell if it is basic authentication if a dialog box appears for the username and password. If the login is just on a web page, without a dialog box, then your site uses form-based authentication. (It is currently unknown if the guidelines given here work with form-based authentication.)
Once you login, you will see the browser show a URL like:
OK, here's how to configure K-9 Mail:
- Password: whatever your password is
WebDAV (Exchange) server:
- Security type: SSL (if available)
- Port: 443
WebDAV (Exchange) path:
The word "exchange" in the "WebDAV (Exchange) path" is copied from the last part of the URL shown in the browser when you login to Outlook Web Access the normal way.
These alternate instructions were submitted in issue 1631 by Der.Harry.Karl.
- Enter your usual username and pass
- Enter your Exchange server domain name, eg.
- Activate SSL if necessary
- Leave WebDAV Path empty
Enter the right auth path as well as the auth handler (in my case it was:
owa/auth/is the path and
logon.aspxis the handler.
- Leave Mailbox path empty.
- Maybe you have other setups where 4.) and 6.) have to be different, but it is most important that 5.) is correct.
Testing this with some other Exchange setups I could find out that especially failing to enter the right auth path leads to errors. Another vaild entry I found was:
These alternate instructions were submitted in issue 1990 by Docsmooth2486.
If you have hosted Exchange, and after setting up no custom settings for WebDAV or "Mailbox" path, you receive a "HTTP 501 Not Implemented" error, your WebDAV path is likely wrong. To check this:
- take your email address
email@example.com remove the "@": userdomain.com
- In a normal browser, log into your OWA server.
- Now edit your Address bar by adding
/userdomain.com/Inbox(entering your modified email address after the
/exchangepart) to the end, so the full path reads something like:
- If your inbox loads up properly, go back to K9Mail and change your WebDAV (Exchange) Path to:
/exchange/userdomain.com(using your modified email address)