-
-
Notifications
You must be signed in to change notification settings - Fork 818
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
Shared Mailbox Office 365 #1770
Comments
You probably need to ask Microsoft Support because I don't know how to format the username string to do what you are trying to do. |
If you find out, can you share the answer here? If you can do that, I'll update the FAQ to add this. I'm sure I've gotten other questions about this but I don't remember if/what the answer was. FWIW, there were other questions about this in the past: https://github.com/jstedfast/MailKit/issues?q=is%3Aissue+is%3Aclosed+shared+mailbox This is probably the most likely answer to your question: #1412 (comment) |
Check this link. But does not work either. I will contact MS and let you know. |
@jstedfast For IMAP you need to use the shared mailboxes email address. |
Make sure to have SMTP Authentication enabled. Can also be that the shared mailbox needs to have a license. but I could not verify this right now. Updates pending! |
So would you use |
You need to use |
Hi @jstedfast !
I have some issues authenticating the SMTPClient to Office365 using a shared mailbox.
Connecting to my personal account works, but the shared mailbox is not possible.
I have attached some logs for you:
I always get the "S: 535 5.7.3 Authentication unsuccessful". I have enabled SMTP AUTH in my tenant and for my user.
Token seems to be valid, I can connect to my personal mailbox.
I also tried it with "patrik@...\office". Did not work either. Could you provide any help? Or do I need to ask MS.
THANKS
Patrik
The text was updated successfully, but these errors were encountered: