~rjarry/aerc#275: 
Add a Bcc header automatically for an account

Hi and thanks for this piece of software ! aerc is my default MUA.

It would be useful if we can add a bcc= line in the accounts.conf file.

I've tried to modify the template, but it is common to all accounts. I also add a binding in compose::review with a :bcc command, but sometime, I forget to launch it.

Thanks again

jp

Status
RESOLVED CLOSED
Submitter
~jpfox
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
No labels applied.

~ferdinandyb 2 months ago

look into man aerc-templates, you could either script the template itself based on account name or have a different templates for each account and template the bound command.

~jpfox 2 months ago

Oh yes, I haven't seen it's possible to use conditions in templates

Here is my working "new_message" template :

X-Mailer: aerc {{version}}
{{if eq .Account "MyAccount"}}Bcc: Jordan <jordan@domain.tld>{{end}}

{{- with .Signature }}

{{.}}
{{- end -}}

Thanks!

~ferdinandyb REPORTED CLOSED 2 months ago

welcome!

Register here or Log in to comment, or comment via email.