[Users] Filter Forward as attachment but with comment

Milan Obuch claws-mail-users at dino.sk
Thu Sep 23 20:25:33 CEST 2021


On Thu, 23 Sep 2021 23:36:54 +0530, Jim Pachowski
<jimmy.patch at gmail.com> wrote:

> Hello everybody.
> 
> I finally have a question and seek help.
> 
> I am trying to set up a filter that forwards an email as an
> attachment. This part is straightforward.
> 
> But I want to add a message based on the filter. For example, when the
> From is from one of the students, I want to forward the email to a
> specific email address with the comment "Here is another student
> mail." This part does not seem to be allowed? Wanted to check if
> anybody has had any success with this scenario.
> 
> I looked at setting up templates but they do not allow a way to add
> email as attachments.
> 
> I looked up setting forwarding template to a custom folder, but it
> does not apply to forwarding as attachments, only the normal forward.
> 
> Any clues on how to make this work?
>

Hi,

maybe you can use some scripting - there is 'Execute' action in
filtering and similarly, in templates, you can use program output. So
some external script could do what you want. Maybe you can use
scripting plugin for this, too... I am doing such specialized
forwarding on server I am administering, but this is out of scope of
this mailing list. Take it just as an explanation why I am not more
exact in my answer :)

Regards,
Milan


More information about the Users mailing list