Open Bug 560916 Opened 14 years ago Updated 2 years ago

forwarded message from folder SENT won't display standard set sender's email address

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows Vista
defect

Tracking

(Not tracked)

People

(Reporter: erich, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [gs])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTB6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4

Forwarded emails out of the folder SENT do not display the email address set to standard but display provider's address by default. 
It works properly forwarding from any other folder and also when the menu 'message - send as new' is used in the Sent folder.
Same behaviour with WinXP prof SP3 (Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4) and Vista Home (de).

Reproducible: Always

Steps to Reproduce:
1. mark a message in the folder sent
2. click on forward/answer/answer all
3. by default the 'standard sender's address' is exchanged to another address (in our cases: the one given by the ISP)
Actual Results:  
new message with different than 'standard' address

Expected Results:  
new message should display standard email address by default

default theme is used on both machines
Are you using the Smart folder view ?

Anything in Tools -> error console ?

This WFM on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.5pre) Gecko/20100421 Lanikai/3.1b2pre
Version: unspecified → 3.0
(In reply to comment #1)
Not sure for I'm using a german UI, it is called 'grouped' or 'arranged' folder view.

Console shows nothing relevant, only few msgs concerning an ignored declaration 'mso-style-type' - probably because TB does not see any 'error'.

I tested some more emails today and found that above mentioned behaviour sometimes varies. There is one other address set per default too, in case the mail was sent with this one. In all other cases, the provider's address is set. It is just 'never' the standard email address.
Can you provide a screenshot ?
Attached image screenshot
HTH
Attachment #441259 - Flags: approval-thunderbird3.0.5?
Comment on attachment 441259 [details]
screenshot

Please don't set flags if you don't know what they are for.
Attachment #441259 - Flags: approval-thunderbird3.0.5?
I think I understand your issue but I'm not sure.

I kind of reproduce that when I'm using identities (eg email aliases), when I'm forwarding a sent email on my account with two identities, Tb always falls back into using the account's primary identity.

So I have account XXX@yyy.com and I have defined an identity ZZZZ@jjjj.net as an alias for that account. When forwarding sent emails it's only done by XXX@yyy.com.

Erich is that what you are describing ?
(In reply to comment #6)
> [account with two identities, Tb always falls back
> into using the account's primary identity]
> Erich is that what you are describing ?

Definitely not. In such a case I would not wonder though that it might happen...
As to be seen on the shot there are two unrelated accounts on different servers.

Maybe it matters that @chello has been set standard in the first place when installing TB 2.xx on this machine and there is something left in the registry or profile... just concerning the 'sent' folder? ... I don't know - and I'm clear too that this strange behaviour is not a 'big thing' anyhow.
Erich, I have a similar problem. 

When I originally installed Tb, I entered details for account “A” first. I entered details for several more accounts (B, C, D) since and finally set account “B” to default. 

Everything works just fine, except when I try to forward something out of the “sent” folder. Here TB always uses account “A” as default, though in my opinion it should either
a) use the account the specific message has originally been created with or
b) use account “B” as this is the one I now have chosen to be the default one

Connected to this problem: 

Messages sent to the original account “A” keep on displaying “sent to you”, whereas messages sent to the now default account “B” display “sent to account b”
I think I can confirm this based on user experience and data ( see "URL" field in bug for link to GS topic).  Both cases are 3.1.2.

First user's case:
Account1 is "Local Folders",
Account2 is "SelectedAccount"
Account3 is "NotSelectedAccount"
Account4 is "DefaultAccount"
Identity1 is "select@some.domain"
identity2 is "notselect@other.domain"
identity3 is "default@other.domain"

Message is sent to "other.person@their.domain" from the default account (From: "default@other.domain", and stored in "Sent" folder under "Local Folders".  When forwarding the message, the identity chosen is "select@some.domain" instead of "default@other.domain" (which happens to be the identity for the "default" account, and also the "From:" address in the email).

Another user in the same GS topic says the chosen identity will be either "identity3" or "identity5".  "identity3" I can understand, because "identity1" and "identity2" belong to deleted accounts.  I don't know why "identity5" would be chosen, though.

I think the problem (or one of them) -- if I'm looking at the right code -- is that "GetIdentitiesForServer" doesn't return any (there aren't any for the "Local Folders" server), which means GetBestIdentity doesn't have anything to work with -- so it returns "identity1" (first user's case) or "identity3" (second user's case); that is, it returns the first identity of the first "real" account.  I can't explain why the second user's case would ever return "identity5".

I have sample "sent" emails along with "prefs.js" for both users (not posted here for privacy reasons, but can be made available via email).

As for the fix, "a" (Comment #8) would be the preferable choice, if a "From:" header can be found that matches an identity, otherwise the "default" account's identity.

Based on what I see in the data and code, and based on what the users related as their experiences, changing to "NEW".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [gs]
I am experiencing this situation as well, and it is very frustrating.  I only have three accounts setup in Thunderbird.  When forwarding from my Sent folder, TB seems to almost "guess" which From address to use based on what's in the headers.  It should, ideally, use the From address from the default account only.  I almost always want to send/forward/reply from my default account.  I only want to retrieve email from my other accounts.  This problem is nicely described in Bug 549125, which was unfortunately marked as a duplicate of 264626, which it is not.
Note that I experienced this in Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: