in reply to Accessing IMAP-Server via Perl

We can't really help you without seeing the actual code. My best guess without that: Your old script propably did not use encryption, but O365 only works with SSL/TLS encryption. Or maybe the port or the host adress are incorrect. For more information, see the google snippet for "office 365 imap settings".


You can lead your users to water, but alas, you cannot drown them.