After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 215115 - Per-folder From: email address
Per-folder From: email address
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[addr_mail] evolution[folder...
: 213863 215161 217217 251496 257960 344030 356245 520368 564549 708741 (view as bug list)
Depends on:
Blocks: 745869
 
 
Reported: 2001-11-11 23:48 UTC by Adam Warner
Modified: 2015-03-09 00:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Warner 2001-11-11 23:48:59 UTC
This is strictly a wishlist that has received very positive feedback on the
evolution mailing list.

The problem: My mailing lists email address is different from my personal
email address. Whenever I am posting (and sometimes when replying) to a
mailing list I have to remember to select the right "From:" address. If I
forget the mail can bounce (or I've just increased the spam that goes to my
personal email address).

The solution: Per-folder "From:" email addresses (i.e. allow users to
choose a per-folder default account). For example if I am in the folder
"evolution" and either post or reply to a new message my
lists@consulting.net.nz email address could be set as the default. A good
place for the selection item could be a right mouse click on a particular
folder called "Default Account..."

This also has important applications for those taking on roles that use a
different email address (e.g. responding to queries for a company). If
those queries are sorted into separate folders then it will be no longer
necessary to select the correct email address when replying to relevant
messages.

A useful extension: Per-folder default "To:" (and/or CC/BCC) addresses as
well. For example, if you click on the "evolution" folder and then click
"New Message" your correct "From" address would be filled out and the
correct "To" mailing list address as well! This default would be ignored
when replying to a message in the folder instead of posting a new message.

Evolution is already a fantastic email client. Thanks everyone.

Regards,
Adam Warner
Comment 1 kijiki0 2001-11-28 05:48:08 UTC
Even if per folder is considered too complicated, per IMAP account
(and presumably per-POP or local account too) FROM: addresses would be
nice.

As it stands, if I have my secondary IMAP account selected, and I
click "New Message" it defaults to my primary account's FROM: address.
 Clearly this is not what users would expect, and is something of a
hassle.
Comment 2 Jeffrey Stedfast 2002-04-11 06:35:35 UTC
don't see this happening anytime soon...
Comment 3 Gerardo Marin 2003-11-29 23:28:14 UTC
*** bug 217217 has been marked as a duplicate of this bug. ***
Comment 4 Gerardo Marin 2003-11-29 23:30:25 UTC
*** bug 251496 has been marked as a duplicate of this bug. ***
Comment 5 Gerardo Marin 2003-11-29 23:31:54 UTC
*** bug 217217 has been marked as a duplicate of this bug. ***
Comment 6 Miquel van Smoorenburg 2003-11-30 01:42:30 UTC
As Gerardo requested, I'm adding the text of bug#251496 to this bug.

Evolution should support a number of settings
which would be folder-specific (i.e. right-click
on the folder and have a menu pop-up "edit settings").

Those settings would include:

- view
- ability to set default header values:
  o From: address (or identity/account)
  o Reply-To:, Cc:, Bcc:
  o Custom headers
- Drafts/Sent folder

A number of these settings can already be set in
the "accounts" editor (the header values and the
Drafts/Sent folders). The per-folder settings
should override the per-account settings. If
possible the composer should have a "show custom
headers" option in the "view" menu.

When composing a new message the settings of the
currently opened folder should be used.

Rationale: 

I have one IMAP account with a set of folders in which I receive mail
for a number of "role-accounts" (noc, news, private, business, several
mailinglists).

In such a (common) scenario it makes a lot of sense to be able to to 
set From:/Cc:/Bcc:/custom headers per folder.

There are a lot of people who want this, it
regulary comes up on the mailinglists:

http://lists.ximian.com/archives/public/evolution/2001-May/008736.html
http://lists.ximian.com/archives/public/evolution/2001-May/008769.html

Comment 7 Gerardo Marin 2004-05-03 03:43:40 UTC
*** bug 257960 has been marked as a duplicate of this bug. ***
Comment 8 Not Zed 2005-02-22 04:07:29 UTC
i dont see the last comment happening.

associating a 'default account' with the folder seems quite doable though.
Comment 9 André Klapper 2005-12-07 00:14:04 UTC
updating version number
Comment 10 Matthew Barnes 2008-03-11 00:28:06 UTC
Bumping version to a stable release.
Comment 11 Paul Bolle 2008-12-15 23:06:00 UTC
*** Bug 564549 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2013-09-25 14:01:58 UTC
*** Bug 708741 has been marked as a duplicate of this bug. ***
Comment 13 Milan Crha 2013-10-08 11:29:56 UTC
I added the functionality for per-folder and per-recipient send account within commit b5023d3 to git master of evolution (3.11.1+).

The setting can be found in Folder Properties and in Edit->Preferences->Composer Preferences->Send Accounts. The recipient comparison is filter-like, aka it's enough to write only part of the address or a name and whichever matches first (in order To, CC, Bcc) is picked.
Comment 14 Milan Crha 2013-10-08 11:31:07 UTC
*** Bug 213863 has been marked as a duplicate of this bug. ***
Comment 15 Milan Crha 2013-10-08 11:31:19 UTC
*** Bug 215161 has been marked as a duplicate of this bug. ***
Comment 16 Milan Crha 2013-10-08 11:31:32 UTC
*** Bug 344030 has been marked as a duplicate of this bug. ***
Comment 17 Milan Crha 2013-10-08 11:34:03 UTC
*** Bug 356245 has been marked as a duplicate of this bug. ***
Comment 18 Milan Crha 2013-10-08 11:34:53 UTC
*** Bug 520368 has been marked as a duplicate of this bug. ***
Comment 19 Milan Crha 2014-01-27 18:23:01 UTC
I realized that I caused a regression in evolution with the above commit, the mail-config.ui file editing dropped ID-s for forward and reply styles in Preferences, thus it was opened empty. This is fixed at commit f30598b [1]
for 3.11.5+.

[1] https://git.gnome.org/browse/evolution/commit/?id=f30598b
Comment 20 Joachim Breitner 2014-04-29 13:46:49 UTC
Nice feature!

Would it be possible to make the folder matching recursive? I.e. I have a large subfolder tree called “Debian”; it would be nice if it was sufficient to set my Debian account as the sender for the Debian folder, and have it effect also Debian/devel/ etc.


Unrelated suggested: Currently, this needs manual configuration. I find that Firefox is pretty smart in something similar (different default download folders per domain). Maybe most users would already be happy if for every folder, the last used account is remembered and used as a default?