0

I've set up excorporate mode so that I can use emacs to read my outlook calendar. However I am annoyed by having to input a username/password every time I open emacs. I tried a .netrc:

machine outlook.office365.com login me@somewhere.com password 'secret'

But it doesn't work. Can anyone point me further in the right direction?

| improve this question | | | | |
  • 1
    I'd start by setting auth-source-debug to t, and looking in the *Messages* buffer. Perhaps you need a port keyword as well (I don't see excorporate calling auth-source, so it must be calling it indirectly if at all) – rpluim Mar 25 '19 at 21:14
  • yep, that works outlook.office365.com:443 did it – singingfish Mar 25 '19 at 22:49
  • Thank you for this useful question. Where did you put your .netrc file? – Charles Cad Mar 24 at 15:20
  • in my home directory – singingfish Mar 25 at 20:47
  • The file format and more details are explained in the manual page – Muihlinn Apr 23 at 18:16
1

as per the comment from @rpluim adding the port outlook.office365.com:443 did the job nicely.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.