RealRaven2000 / FiltaQuilla

Adds many new mail filter actions to Thunderbird
http://quickfilters.quickfolders.org/filtaquilla.html
GNU General Public License v3.0
88 stars 17 forks source link

Kdialog or execution of File - both don't work #208

Open xstable opened 1 year ago

xstable commented 1 year ago

I try to archive following:

If EMail has an attachment, it should be saved to a given directory. After saving it should create a Notification via kdialog --msgbox "Invoice saved to xxxyyy".

But If I do execute this Filter, I got only following:

 [30.01.23, 15:28:12 GMT+1] Filter "Domainfactory-Rechnung (Anhang speichern & Archivieren)" auf die Nachricht DomainFactory Service <service@df.eu> - Ihre Rechnung Nr. 30742701 für Kundennummer K372216 ist jetzt verfügbar am 26.06.22, 05:13:22 GMT+2 angewendet Datei ausführen

[30.01.23, 15:28:12 GMT+1] Mitteilung von Filter "Domainfactory-Rechnung (Anhang speichern & Archivieren)": custom action failed to apply

Means at least I've found that angewendet 'Datei ausführen' is the command which tells me in Thunderbird protocol, that now the execution of file will be used... but as Error-Message for this execution I only got custom action failed to apply.

How to figure out, why this error appear and what exactly the issue is.

BTW: This is the command I'd used to be executed:

kdialog --passivepopup "Anhang von DF.eu in Rechnungsordner für 2023 verschoben\n und EMail archiviert" 2>/dev/null 1>/dev/null

I've also created a little bash-script to wrap this kdialog command - only for the case, that FiltaQuilla have issues with executing command (instead of filenames). But same result.

xstable commented 1 year ago

BTW: A build-in functionality to show a Popup-Notification via FiltaQuilla (in TB) would also be a nice new feature. This way the user is able to see, if filter does something automatically.