use imap_append. That is what that function is for... it is also how to handle drafts...
check out www.tijuana.com, it is a commercial web based mail service I wrote entirely in php with IMAP support. It also handles multiple attachments, multiple attachment forwarding, and sign up 'on-the-fly' i,e, sign up is instantly avaiable. If it does whatyou want I can send you the functions I wrote for it. However, it is function style programming, not OOP style... caveat emptor... richard --- Jhun Hubac <[EMAIL PROTECTED]> wrote: > Hi! > > I would like to ask help regarding my PHP script for sending out mails > and > then making a copy of that sent mail to the Sents mailbox. I have been > working a sort of "workaround" for this by creating a "Cc:" to myself > and > then performing an imap_mail_move to my INBOX.Sent folder. But the > problem > with this procedure is that the "To:" header that will be seen in the > Sents > folder would be my email address instead of the legal recipient. Is it > possible to re-write the headers? Are there any procedures in performing > > this option for web-based email? > > > -Jhun- > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]