Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DavMail support #40

Open
mkszuba opened this issue Apr 10, 2014 · 2 comments
Open

DavMail support #40

mkszuba opened this issue Apr 10, 2014 · 2 comments

Comments

@mkszuba
Copy link

mkszuba commented Apr 10, 2014

Hello,

Does the current version of org-caldav support DavMail? On one hand it is not mentioned either way in the README, on the other there is one mention of it in the .el file itself. As for me, so far I have been unsuccessful getting it going.

My set-up: emacs-24.3 running under Linux, org-mode as bundled with said version of Emacs, org-caldav cloned from master this morning. Relevant bit of .emacs:

(require 'org-caldav)
(setq org-caldav-url "https://caldav.company.com/users/my.user@company.com")
(setq org-caldav-calendar-id "calendar")
(setq org-caldav-uuid-extension ".EML")
(setq org-caldav-inbox "~/org/remote.org")

Upon running org-caldav-sync I immediately get asked for my user name (which again is my.user@company.com) and password. The connection then fails with the following error message:

Got error status from PROPFIND: 
(("https://caldav.company.com/users/my.user@company.com/calendar/" DAV:status 401 . ""))

Emacs having trouble authenticating the connection properly? BTW. If I try to connect to the same calendar using Mozilla Thunderbird + Lightning (in which case I combine url and calendar-id into a single URL), everything works fine.

MS

@JalapenoGremlin
Copy link

Actually your username is probably "Domain\user".

  (setq org-caldav-url "http://localhost:1080/users"
           org-caldav-calendar-id "my.user@example.com/calendar"
           org-caldav-uuid-extension ".EML")
  • user: DOMAIN\LOGIN
  • password: You're windows domain\login password

@ismaell
Copy link

ismaell commented May 13, 2020

I can confirm it works, but:

  • The server comes up with it's own IDs, so you get duplicated events; this could be solved by org-caldav maybe by comparing the body and merging them.
  • Events coming from other users will be read-only, but org-caldav assumes it can modify them, which means they stay forever dirty and isn't easy to revert.
  • Sensitiveness to white-space changes causes a lot of unnecessary syncs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants