1

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?

Stefan
  • 26,154
  • 3
  • 46
  • 84
singingfish
  • 131
  • 3

1 Answers1

2

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

machine outlook.office365.com:443 port https login john@email.com password changeme123

Don't forget that Emacs comes with built-in GPG support, so you can encrypt this file easily by naming it ~/.authinfo.gpg

singingfish
  • 131
  • 3