Hi...
I'm writing a webmail interface for my server using PHP's imap_() functions.
I'm using imap_mail() to send out mail that people compose. One problem is that when people use pine, mutt, exchange, etc, these clients copy their outgoing mail to the directory "outbox" in their Maildir. How would I go about doing this too?
Would I have to CC the file to the sender and then imap_mail_move() them?
Or would I have to figure out the format of mail files and write the file using fwrite and the data to that dir? This seems undoable because of directory permissions for the users' maildirs.
Has anyone else run into anything like this?
Thanks,
--Harlan