IMAP to Maildir

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deejross
Forum Newbie
Posts: 1
Joined: Wed May 13, 2009 6:11 pm

IMAP to Maildir

Post by deejross »

I'm writing a PHP script that will download mail from an IMAP server and I need to store that mail in the Maildir format. I've already written code to connect to the server and list the mailboxes, but I need to know how to download the messages and save them in Maildir format so that something like Dovecot can read them.

Getmail/Fetchmail won't work in this case because I won't know ahead of time what mailboxes to get the mail from.

Thanks in advance for the help
Post Reply