Saving a copy of a sent mail with IMAP functions

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
imasdux
Forum Newbie
Posts: 2
Joined: Wed Sep 17, 2003 5:16 am

Saving a copy of a sent mail with IMAP functions

Post by imasdux »

Hi!

I've completed my PHP code for sending MIME emails, but I have a question: how can I save a copy of the sent email? I thought send the same email to the sender's account with an special subject,(e.g. if I had sent a email with the subject 'no subject', send to my account the same email with the subject 'to_save_copy_no subject'). After that, the webmail client should move that email to 'sent-mail' folder, removing the 'to_save_copy_' prefix.

Is there a better method? Reviewing PHP IMAP functions I've not found any.

Thanks a lot!
imasdux
Forum Newbie
Posts: 2
Joined: Wed Sep 17, 2003 5:16 am

Success!!

Post by imasdux »

Ops!

The imap_append function... ok, I'm sorry for avoiding this when I reviewed PHP documentation.

Thanks anyway.
Post Reply