Re: Detaching attachments from emails?

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

 



On 3/21/07, Marc Groot Koerkamp <marc@xxxxxxxxxxxxxxxx> wrote:
> 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 ;-)

The bouce plugin would be a good starting point for this, although I
hear it isn't working in newer SM versions.  I used some of its code
in spam_buttons, so I might *might* have a look at it some time soon.

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

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux