Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Automatically set correct From address for reply #25

Closed
ghost opened this issue Aug 11, 2017 · 2 comments
Closed

[Request] Automatically set correct From address for reply #25

ghost opened this issue Aug 11, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 11, 2017

I prefer not to have a default account set in bower, so when I reply to some mail I received on any of my accounts, I get something like From: myself@my_router as the default, which obviously gets me nowhere and I manually have to change From: every time. Would it be possible to have the reply functionality check if To: in the received message is configured as an outgoing account for bower and then use this by default for the From: field, possibly just leaving it blank otherwise?

@wangp
Copy link
Owner

wangp commented Aug 12, 2017

The reply template is constructed by "notmuch reply". I think the behaviour you want is mostly achieved by setting multiple addresses for user.other_email in ~/.notmuch-config. If none of your configured addresses can be found in the message, it falls back to user.primary_email (which it makes up if unset).

@ghost
Copy link
Author

ghost commented Aug 12, 2017

Works, thanks. I supposed bower constructed the template itself, so I apparently just looked in the wrong place. Feel free to close the issue.

@wangp wangp closed this as completed Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant