How to sync IMAP email account with Outlook and iPhone?

I have an webmail account (which is a company email address) that I can access via Outlook and/or webmail browser. The problem is when I delete/read an email on Outlook, it doesn't show as deleted/red on my iPhone.

It works fine when I use the webmail browser and my Phone, but not with Outlook. I'm using Roundcube email program for webmail.

I have tried to set up the account as POP and IMAP, but IMAP doesn't seem to work at all.

Any help would be much appreciated, as I have tried everything I can think of.

Thanks

Added (1). Also when I receive emails in Outlook they are deleted from my webmail program and iPhone. I'm pretty sure I need to set up the email accounts in IMAP. They are currently set up in IMAP form on my iPhone and webmail but not Outlook. Outlook just doesn't seem to work with IMAP.

If you want all your *** mail in your phone simply take a dump and smear it all over the device

Set Outlook to delete server copies!
http://www.office-outlook.com/outlook-forum/index.php/m/400820/