You are here: Re: [PHP] Copy sent mail in a mailbox folder « PHP « IT news, forums, messages
Re: [PHP] Copy sent mail in a mailbox folder

Posted by "Richard Lynch" on 10/21/87 11:17

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация