-
Notifications
You must be signed in to change notification settings - Fork 6
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
Recieve Emails from Outlook shared inbox #2
Comments
Hi @timosch29,
Thus, supposing your shared mailbox name is "shared", and your username is "timosch", you would have:
Could you try this and tell me if it works? |
Hi, from imapclient import IMAPClient
with IMAPClient(host='outlook.office365.com') as client:
client.login('timosch@company.de\shared', 'password')
client.select_folder('INBOX')
# search criteria are passed in a straightforward way
# (nesting is supported)
messages = client.search(['UNSEEN'])
# fetch selectors are passed as a simple list of strings.
response = client.fetch(messages,'RFC822') |
Hi,
I am also posting a question on SO and on the cURL mailing list. Let's see if the libcurl guys can elucidate this. |
I've just done a test in Python using my connection parameters and I can't replicate your success. I still get "LOGIN denied" just like in |
I checked again with a different shared folder and it works. Did you make sure IMAP is activated and that you added the shared folder to your account in Outlook? Generally one should also use an escaped backslash in Python like |
I've tried it, but without success either. Did you tested it using cURL from the command line?
|
I tested it with the shared folders working in Python via cURL without success in those variants:
Without the shared folder it works. The return was: |
Sorry for the late response.
|
Hi, I tried both versions with :password at the end. They seem not to work with me, too. |
Sorry for the delay. This seems to be a libcurl’s limitation. I will open an issue on their repo. Let’s hope they come up with a solution soon. |
Hi,
is it possible to receive the emails from an Outlook shared inbox?
With
list_mailboxes()
only the personal INBOX can be found.It would be great to have this feature for working with big company shared inboxes.
The text was updated successfully, but these errors were encountered: