Bug 4599 - --compose-from-file could use another option to not insert signature
Summary: --compose-from-file could use another option to not insert signature
Status: NEW
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI (show other bugs)
Version: 4.1.0
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2022-05-27 19:42 UTC by Andreas Rönnquist
Modified: 2022-05-28 19:02 UTC (History)
0 users

See Also:


Attachments

Description Andreas Rönnquist 2022-05-27 19:42:22 UTC
I am using --compose-from-file, and would like to have an option to not insert a signature (in most cases it's fine with the signature, but I have a usage where I would like to avoid it). 

Something like "--compose-from-file myfile --no-sign" working would be really great.

I would use this through a bash script, so I wouldn't mind if it's a long option, and most times when I compose mail _not_ using the bash script, I would like the signature, so I have it set in the claws setting to insert a signature, this option would simply override the claws option for the current composition.
Comment 1 Ricardo Mones 2022-05-28 10:52:34 UTC
Hi Andreas! For that use case, perhaps having an account configured like the one you're using but SMTP-only and with an empty signature is a workaround.
Have you tried that?
Comment 2 Andreas Rönnquist 2022-05-28 15:36:01 UTC
Hey Ricardo!

That can actually be a good workaround, thanks! I needed however to move the new account above the one I copied to make --compose-from-mail select that one before the old one.

Also, actually looking at the code, it seems to be quite complicated to make the changes required for my initial request...

An alternative would of course to be to be able to select account in compose mail, and with this using your work-around.
Comment 3 djh 2022-05-28 18:49:17 UTC
> An alternative would of course to be to be able to select account in
> compose mail, and with this using your work-around.

Err, immediately to the right of "From" in my compose window is a field
and when I hover over it the tooltip says "Account to use for this
email". I think that is exactly what you're asking for?
Comment 4 Andreas Rönnquist 2022-05-28 19:02:49 UTC
>Err, immediately to the right of "From" in my compose window is a field
>and when I hover over it the tooltip says "Account to use for this
>email". I think that is exactly what you're asking for?

Sure, but my goal is to be able to set this already in my script, with having to change as little as possible when I have the mail composed and ready to send.

Note You need to log in before you can comment on or make changes to this bug.