Re: Copy sent mail in a mailbox folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 28, 2005 2:58 am, Reto said:
> Hi list,
>
> I'm sending mails with PEAR::Mail / PEAR::Mail_Mime or with PHPMailer
> (http://phpmailer.sf.net). The final solution will implemented depending
> on which implementation better fits my needs.
>
> Anyway, and that is the problem, after sending the mail I want to save a
> copy of the mail in an IMAP folder called "Sent".
>
> I would be pleased if someone could send me a hint or a link how to
> achive this. Either with PEAR or with PHPMailer generated mails.
>
> My first thought was to walk through the mail object and extracting all
> necessary attributes and generating a new message and save this to the
> mailfolder...

If all else fails, you could send it to your From: address with an extra
header like:
X-File-In-Sent: File-In-Sent-Folder

and then put a filter in your email client to filter all the stuff on that
header into "Sent"

Crude, but effective :-)

-- 

Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux