|
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]
|