Open Bug 888957 Opened 12 years ago Updated 1 year ago

Reply and Reply All using incorrect FROM identity

Categories

(Thunderbird :: Message Compose Window, defect)

17 Branch
x86
Windows Vista
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: anjeyelf, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [dupeme?])

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release) Build ID: 20130511120803 Steps to reproduce: Using thunderbird 17.0.7 Windows Vista Pop mail account I was performing a test using one of my identities as if it were an email sent by a customer who used that email address. I used an 'identity' email address to send myself an email and saved the copy in my 'Sent' folder in Local Folders. I then wanted to 'Reply' using that sent copy. So I click on 'Reply' This was the original email header info which was saved in the SEnt fodler in Local Folders: FROM = my identity email address - me TO = my two other email addresses, one acting as if a customer, the other as a bcc to myself. Actual results: a new Write window opens with the following: FROM = customer which was one of my email address. TO = my identity email address If using 'Reply all': FROM = customer which was one of my email address. TO = my identity email address Cc = the original bcc email address. Expected results: If I choose a sent email from one of my other Pop mail account Sent folders: the FROM in the sent email copy becomes 'FROM' in the new write message header. the TO in the sent email copy becomes 'TO' in the new write message header. This is as expected because it is a copy of a sent email, you expect the headers to remain unchanged. However, if I choose a sent email from Sent folder in my Local Folders the FROM in the sent email copy becomes 'TO' in the new write message header. the TO in the sent email copy becomes 'FROM' in the new write message header. This means that if I sent an email to a customer and saved that email in 'Sent' folder in Local folders and wanted to use that email in a reply, the FROM header is inserting the customer email address and not my identity email address, which as been inserted into a TO field instead of the FROM field. On GetSatisfaction. I also had another user who experienced this same issue: https://getsatisfaction.com/mozilla_messaging/topics/replying_a_message_when_you_are_the_bcc_and_also_the_message_is_sent_by_you
What is your grounds of "Incorrect"? Software has his own design and implementation. So, "different from your expectation" is not always "Incorrect", and there is no absolute "correctness" in pre-selected From: address, and Tb has "X-Account-Key: based identity selection" feature and "Reply-to-Self" feature which can not be disabled... Read meta bug 699681 and bugs listed in dependency tree for that meta bug, please. (Q1) Is X-Account-Key: header written in message source of the mail in Sent folder of Local Folders? If yes, identity selection for pre-set From: is based on accountN in X-Account-Key: header. If No, identity selection is based on "Default Account". mail.accountmanager.defaultaccount = account? If X-Account-Key: header exists, is accountN in X-Account-Key: header existent account? (Q2) Which account is set as "Default Account"? If Deault Account==Local Folders, Tb can't find associated Identity when no X-Account-Key:, because "Local Folders" doesn't have associated Identity. (Q3) What is your following setting? (check via Tools/Options/Advanced/General, Config Editor", if Win) > mailnews.reply_to_self_check_all_ident (default=false) (Q3) Can reply_to_self_check_all_ident = true be workaround of your case? > mailnews.reply_to_self_check_all_ident = true > (Reply-to-Self checks all identities of all accounts) As seen in "Sent of each account" case, Tb chooses "From: my identity, To: Unknown" if replied mail is "From: my identity, To: Unknown". I guess Tb checks all identities of all accounts when sent mail copy in Sent of Local Folders who doesn't have associated Identity.
Blocks: 699681
(Q1) Is X-Account-Key: (A1) there is no entry. There is a 'Message ID:' numbers followed by expected @ email address There is a 'FROM' and the correct email address Therefore it is using the default account. (Q2) Which account is set as "Default Account"? (A2) The 'FROM' setting in the new Write mail message is using the default account name, which I used as if as a customer. (Q3) What is your following setting? mailnews.reply_to_self_check_all_ident: (A3) mailnews.reply_to_self_check_all_ident (default=true) So in my case, it would seem that without the X-Account-Key, it is using my default mail account (which I used as if a customer email address) and not the identity which actually sent the email. I carried out this test when another user had an issue with the customer email address was being inserted into the FROM. I'm currently trying to get more info from the other user. In their case the customer address was being inserted into FROM not the default mail account. See link in first comment. Additional: The X-Account-Key is only inserted into emails which I/my husband received into any Inbox. Note: each mail account uses it's own inbox for the mail account with the exception of an identity which uses the Sent folder in local Folders. It is not added to any emails I or my husband sent which are saved in the appropriate Sent folder. When I select a previously sent email in a Sent folder and click on eg: Reply, these are the results: My default mail account Sent: FROM is inserted in FROM and TO is inserted in TO (This was as expected) My second mail account Sent: FROM is inserted in FROM and TO is inserted in TO (This was as expected) An identity associated with second mail account where emails are stored in 'Sent' folder in Local Folders: FROM is inserted in TO and TO is inserted in FROM (This was NOT expected) My husbands mail account Sent: (email sent from him to my second mail account email address) FROM is inserted into both FROM and TO (This was NOT expected)
"X-Account-Key: header is not written in ssent mail copy" is known problem. It looks to still remain. > (A3) mailnews.reply_to_self_check_all_ident (default=true) Which is actually set in your environment(or user's environment) where your problem occurs? true? false? (IIRC, default of this setting is false...) In any case, can "change(toggle) this setting" be a workaround? For "Deafult Account", used "Identity" etc. "Which account's which identity is set as pre-set From:" is important. Check following via Config Editor, please. mail.accountmanager.defaultaccount = accountN => mail.account.accountN.server = serverX => mail.server.serverX.xxx (xxx=type, hostname, ...) => mail.account.accountN.identities = idP,idQ, ... (first identity = default identity / main identity) => mail.identity.idP.yyy (yyy=useremail, ...) => mail.identity.idQ.yyy (yyy=useremail, ...)
mailnews.reply_to_self_check_all_ident (default=true) re: mail.accountmanager.defaultaccount = accountN this is set to use account1 which is my default mail account. re:=> mail.account.accountN.server = serverX mail.account.account1.server;server1 mail.account.account2.server;server2 mail.account.account3.server;server3 mail.account.account4.server;server4 mail.account.account5.server;server5 Where account4 = smart mailboxes re: => mail.server.serverX.xxx (xxx=type, hostname, ...) mail.server.server1.type;pop3 mail.server.server1.hostname;mail.btinternet.com mail.server.server1.name;name @btinternet.com email address mail.server.server1.directory-rel;[ProfD]Mail/mail.btinternet.com mail.server.server2.type;none mail.server.server2.hostname;Local Folders mail.server.server2.directory-rel;[ProfD]Mail/Local Folders mail.server.server3.type;pop3 mail.server.server3.hostname;mail.my website domain mail.server.server3.name; my website email address mail.server.server3.directory-rel;[ProfD]Mail/mail.my website domain mail.server.server4.type;none mail.server.server4.hostname;smart mailboxes mail.server.server4.directory-rel;[ProfD]Mail/smart mailboxes mail.server.server5.type;pop3 mail.server.server5.hostname;mail.btinternet.com mail.server.server5.directory-rel;[ProfD]Mail/mail.btinternet-1.com re: => mail.account.accountN.identities = idP,idQ, ... (first identity = default identity / main identity) => mail.identity.idP.yyy (yyy=useremail, ...) => mail.identity.idQ.yyy (yyy=useremail, ...) mail.account.account1.identities;id1 mail.account.account3.identities;id2,id3 mail.account.account5.identities;id4 mail.identity.id1.useremail; my default mail account email address mail.identity.id2.useremail;my website email address mail.identity.id3.useremail;my additional identity website email address mail.identity.id4.useremail;my husbands email address Further info - not sure if relevant: My default mail account and my other mail accounts including the identity all use my default outgoing smtp server. My husbands account: I have the email address with btinternet.com and my husband's email address is a sub account on the webmail which he has his own password and views his emails independently. When I added his email address as a mail account in thunderbird, it created an smtp outgoing server using his name at btinternet.com. It does not use the 'default' like the others. I notice that Thunderbird automatically entered the following in 'Manage Identities': Using the words 'Import Identity' instead of his name followed by the email address, which is entered in all other mail accounts. However, under Server Settings the Your Name and Email Address are correctly showing the desired information.
re:mailnews.reply_to_self_check_all_ident (default=true) This was set to TRUE I changed this to FALSE results: When I select a previously sent email in a Sent folder and click on eg: Reply, these are the results: My default mail account Sent: FROM is inserted in FROM and TO is inserted in TO (This was as expected) NO change in results My second mail account Sent: FROM is inserted in FROM and TO is inserted in TO (This was as expected) NO change in results An identity associated with second mail account where emails are stored in 'Sent' folder in Local Folders: FROM is inserted in TO and TO is inserted in FROM (This was NOT expected) No change in results - this still swaps the FROM and TO headers. My husbands mail account Sent: (email sent from him to my second mail account email address) previously = FROM is inserted into both FROM and TO (This was NOT expected) after changing setting to FALSE: FROM is inserted in FROM and TO is inserted in TO There is a change in results to preferred expected results.
Component: Untriaged → Message Compose Window
Summary: Reply and Reply All using incorrect FROM → Reply and Reply All using incorrect FROM identity
Whiteboard: [dupeme?]
Isn't this bug 279846?
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #6) > Isn't this bug 279846? No, it's not. This bug : Problem upon Reply, Due to identity selection based on X-Account-Key: header. bug 279846 : Problem upon draft mail editiong. Due to identity selection based on X-Identity-Key: header.

Anje, does this still reproduce?

Flags: needinfo?(anjeyelf)

Re-Test as I'm now using version 102.1.1

My no 2 account has two identities
I send email using the non-default second identity I'll call 'Info'

1. Test

  • From is 'info'
  • To is my main account
  • Bcc is a gmail account

Email is saved in the 'Local Folders' Sent folder.

Using 'Sent' saved email - Click on 'Reply' - to send reply To 'info' From me = 'main'

Actual Result:

  • From is put in 'From' = info
  • To: is put in 'To' = main

Expected:

  • From to have the 'To' = main
  • To to contain the repy to 'info'

2. Test:
Same as before but this time no Bcc

  • From is 'info'
  • To is my main account

Email is saved in the 'Local Folders' Sent folder.

Using 'Sent' saved email - Click on 'Reply' - to send reply to 'info' as it is from 'info'

Actual Result = Expected Result

  • From to have the 'To' = main
  • To to contain the repy to 'info'

Additional:
Received email 'From' 'info' in Inbox of main
If I 'Reply' to the received email

Actual Result = Expected Result

  • From = main
  • To = info

Received Bcc copy of email 'From' 'info' in Inbox of gmail
If I 'Reply' to the received email

Actual Result = Expected Result

  • From = gmail
  • To = info

Conclusion*
If I use a Bcc in original sent email from 'info' then the result is not as expected when using 'Reply' (or 'Reply-all) on the 'Sent' copy.
If no bcc then all works as expected.
It works as expected if Cc providing no Bcc

It is the use of a Bcc which causes the bug to reveal itself.
This bug is still in version 102.1.1

Flags: needinfo?(anjeyelf)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.