• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

KNotes und claws-mail

admine

Ultimate Guru
Hallo Leute,

wie ändere ich eigentlich den Befehl in KNotes damit claws-mail aus der Notiz eine E-Mail macht?

In den Einstellungen stand das:
Code:
kmail --subject %t --body %f
daraus habe ich das gemacht
Code:
claws-mail %u --subject %t --body %f
bzw. das
Code:
claws-mail --subject %t --body %f
claws-mail kommt auch aus dem Systemabschnitt hoch, aber keine neue E-Mail.

Wie müsste es für claws-mail heißen? :???:
 

josef-wien

Ultimate Guru
--subject und --body sind zwei der möglichen Parameter für kmail:
-s, --subject <subject> Betreff der Nachricht setzen
--body <text> Text der Nachricht festlegen
Auf einer manpage zu claws-mail finde ich:
--compose "mailto:%t?subject=%s&cc=%c&body=%b"
this syntax can be used in web-browsers and CLI to open a pre-populated Compose window. Possible fields after the destination recipient are: subject, from, cc, bcc, in-reply-to, body, insert (insert a file in body part, needs an absolute path), attach (attach a file, needs an absolute path, see also: --attach)
Daher würde ich
claws-mail --compose "mailto:empfänger?subject=%t&body=%f"
versuchen, im Gegensatz zu kmail ist ein Empfänger notwendig, aber ich denke, irgendeine Dummy-Eintragung wie in meinem Beispiel wird es wohl auch tun.

P. S. Was ist daran :???:?
 
Oben