osx - Access IMAP server from Command line Using OpenSSL and OAuth2 -


i'm trying access outlook.com imap server via commandline using openssl. specifically, want access using oauth2, unable so. far, able access server without oauth doing:

openssl s_client -crlf -connect imap-mail.outlook.com:993 tag login username password 

however, when following:

openssl s_client -crlf -connect imap-mail.outlook.com:993 tag authenticate xoauth2 + {base64 encoded string username & access token} 

the command line freezes, connection lost , prompt reset. i'm copying , pasting base64 encoded string commandline. i'm following instructions process:http://blogs.office.com/2013/09/12/outlook-com-now-has-imap/

can tell me might doing incorrectly?

the server expecting response within period of time. have considered using fetchmail?

if trying write own client better off use python or perl.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -