KMail Filter to Copy Attachment to File System

View: New views
3 Messages — Rating Filter:   Alert me  

KMail Filter to Copy Attachment to File System

by Peter Hargreaves-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Folks,

For my paperless office:

I have a number of accounts that email statements to me as Adobe pdf
attachements.

I already filter to save these emails to an appropriate mail folder.

I'd also like to filter these emails to save the 'statement.pdf' attachement
to my file system.

Is there a way to do this?

If not I'd like to request this feature. Can I do it here?

I look forward to any feedback or suggestions.

Thanks,
Peter.
_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

Re: KMail Filter to Copy Attachment to File System

by Ingo Klöcker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009, Peter Hargreaves wrote:

> Hi Folks,
>
> For my paperless office:
>
> I have a number of accounts that email statements to me as Adobe pdf
> attachements.
>
> I already filter to save these emails to an appropriate mail folder.
>
> I'd also like to filter these emails to save the 'statement.pdf'
> attachement to my file system.
>
> Is there a way to do this?
Since it is possible to create a filter which passes the whole message
to another application or script this is, in theory, possible. In
practice, I'm not aware of the existence of a suitable script.


> If not I'd like to request this feature. Can I do it here?

No. Please submit your feature request at http://bugs.kde.org (or via
Help->Report Bug)

To be honest, I don't think this can be implemented as a hard-coded
filter action in KMail as this is a very special use case which would
need to be very flexible to be useful for other people with different
demands. I think the better approach would indeed be the usage of a
specially crafted script tailored for your needs in combination with a
generic "Execute Command" or "Pipe Through" filter.


Regards,
Ingo


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users

signature.asc (204 bytes) Download Attachment

Re: KMail Filter to Copy Attachment to File System

by Johann Rohwer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 03 November 2009, Ingo Klöcker wrote:

> On Tuesday 03 November 2009, Peter Hargreaves wrote:
> > Hi Folks,
> >
> > For my paperless office:
> >
> > I have a number of accounts that email statements to me as Adobe
> > pdf attachements.
> >
> > I already filter to save these emails to an appropriate mail
> > folder.
> >
> > I'd also like to filter these emails to save the 'statement.pdf'
> > attachement to my file system.
> >
> > Is there a way to do this?
>
> Since it is possible to create a filter which passes the whole
> message to another application or script this is, in theory,
> possible. In practice, I'm not aware of the existence of a suitable
> script.

http://301south.net/software/mimeStrip.pl
should work.

Johann


_______________________________________________
KDE PIM users mailing list
kdepim-users@...
https://mail.kde.org/mailman/listinfo/kdepim-users