When creating a marketing campaign in SugarCRM, I got a problem with IMAP - PHP on my web server: "Inbound Email cannot function without the IMAP c-client libraries enabled/compiled". All that I need to do is to open php.ini file and enable IMAP.
If you don't use XAMPP, find php.ini file in your server directory.
Remove ";" to enable PHP - IMAP
Have fun!