IMAP on mobile client

I have an IMAP account that works on the desktop version, but cannot be activated on the mobile version even after exporting the QR code. The settings are exactly the same.