Hello Ralf, On Wed, March 21, 2007 1:11 pm, Ralf Hildebrandt wrote: > One of our users asked if there was a way of detaching (removing) > attachments from incoming) emails in SquirrelMail. He wants to keep the > mail, but the attachment (which he saved seperately elsewhere) isn't > needed anymore. The only way to detach an attachments is by appending a new message based on the old message, but without the attachments, to your selected mailbox (maintaining the internaldate and flags). Instead of the attachments you can put an text/plain inline mime-parts in place with information about the original attachment and of course the information it is deleted (by who, what time and the original filename and mime type). (that's how I should implement it) When that's done you can remove the message with the attachment (delete and expunge) and update or empty the internal mailbox header cache. Piece of cake, isn't it ;-) Regards, Marc Groot Koerkamp. > > -- > Ralf Hildebrandt (i.A. des IT-Zentrums) > Ralf.Hildebrandt@xxxxxxxxxx > Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 > 570-155 > Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 > 570-962 > IT-Zentrum Standort CBF send no mail to > plonk@xxxxxxxxxx > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- > squirrelmail-users mailing list Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: > https://lists.sourceforge.net/lists/listinfo/squirrelmail-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users