Jump to content

Working with Mail365 shared Mailbox IMAP connection fails


This topic is 2024 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Attempting to connect to a Office365 shared account. Everything seems to be set up correctly. Connection works find for a normal username email account on 365.

Username for the shared account is entered as [email protected]\sharedaccountname which seems to be expected elsewhere with 360works and other places for using shared boxes..

The odd thing, if you change the connection to EmailConnectPOP from EmailConnectIMAP the connection for the shared account works fine and fetches mail.

Any ideas to make the IMAP side work?

 

Link to comment
Share on other sites

17 hours ago, MichaelMcManus said:

Username for the shared account is entered as [email protected]\sharedaccountname which seems to be expected elsewhere with 360works and other places for using shared boxes

Are you getting any errors when you try to connect to an IMAP server this way? If so, what is the error? 

Link to comment
Share on other sites

  • Newbies

The plugin returns "error". The dialog return "Authenticate Error"

The log shows:

Oct 03, 2018 3:10:57 PM com.prosc.fmkit.Plugin setLastError
SEVERE: PluginFunction PluginFunction{name='EmailConnectIMAP', minArgs=3, maxArgs=-1} got an error with converted args [outlook.office365.com, [email protected]\sharedaccountname, XXXXXXXX, [tls=1, ssl=1]]
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:715)
at javax.mail.Service.connect(Service.java:364)
at com.prosc.emailplugin.EmailerModel.connectInbound(EmailerModel.java:724)
at com.prosc.emailplugin.EmailerPlugin.EmailConnectIMAP(EmailerPlugin.java:2337)

Guess I should also mention that this is done as a calculation.

Thanks

Link to comment
Share on other sites

Can you successfully connect if you remove the "/sharedaccountname" ? 

I am not quite sure why this would work with the POP protocol vs the IMAP protocol. Might be a server side configuration issue.

 

As an aside, you don't need to set both TLS and SSL equal to one. The server should require one or the other.

Link to comment
Share on other sites

33 minutes ago, MichaelMcManus said:

It does work fine without "/sharedaccountname" 

Excellent. I am assuming this is what Office 365 refers to as a shared mailbox? If so, are you able to read in the expected messages now?

Link to comment
Share on other sites

You can't login to a shared office 365 mailbox. It doesn't have a license. You can only login to mailboxes that have a license. Shared mailboxes can be accessed by user accounts (mailboxes) that do have a license installed.

Link to comment
Share on other sites

This topic is 2024 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.