Hi, The IMAP AUTHENTICATE PLAIN commands expects the value to be base64(<identity>\0<username>\0<password>)
I could not find how to tell cURL to use something else than the username in the the "identity" part of the AUTH command above, which is required to access a shared Office 365 inbox through IMAP. When using USERPWD="username:password" cURL sends the following IMAP command: AUTHENTICATE PLAIN <base64(username \0 username \0 password)> I tried different thing, including variations of USERPWD="username\identity:password" and "username:identity:password" but could not achieve it. Is there an option I missed? If not, can we do a feature request? Thanks a lot, Julian. ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html