Thunderbird does not configure Word XP (2002) "File, Send To: Mail Recipient" options

RESOLVED FIXED in Thunderbird 19.0

Status

MailNews Core
Simple MAPI
RESOLVED FIXED
10 years ago
5 years ago

People

(Reporter: Matt, Assigned: hiro)

Tracking

({regression})

unspecified
Thunderbird 19.0
x86
Windows XP
regression
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [64 bit + non-regression see Bug 393302])

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20061201 Firefox/2.0.0.5 (Ubuntu-feisty)
Build Identifier: version 2.0.0.5 (20070716)

I've found that doing an install of Thunderbird (TB) 2x onto a fresh install of XP with Office XP fails to set up the particulars that would allow a user to "File > Send To > Mail Recipient" in MS Word. While I don't have any problem right clicking a file and choosing "Send To > Mail Recipient" from the desktop, I cannot do so in Word (or Excel).

This is only the case with the 2x client. If I go back, install 1.5 (tested with a few different versions) the option is available. I can then upgrade to TB 2x and the functionality remains. 

Background:
Windows XP (Fully patched)
Office XP SP3 (Fully patched)
Thunderbird 2x (I've tested with all of the 2.x installs)

Missing (or grayed) Options in Send To menu:
Mail Recipient (for Review)
Mail Recipient (as Attachment) 

To see what steps have been taken to work this out, please view http://forums.mozillazine.org/viewtopic.php?p=2990470#2990470

Reproducible: Always

Steps to Reproduce:
1. Install Windows XP
2. Install Office XP (you can install office before or after step 3, makes no diff)
3. Install Thunderbird 2.0x
4. Open Word
5. Navigate: File > Send To
6. Observe that you aren't sending anything to a mail recipient.

Updated

10 years ago
Keywords: regression
Version: unspecified → 2.0

Comment 1

10 years ago
FWIW, I'm having exactly the same experience with the same versions. Reinstalling both applications had no effect. Using Symantec Internet Security on Windows XP Pro SP2, fully patched.  

Comment 2

10 years ago
Do you have 64 bit machines? (Bug 393302, or maybe that bug is more general.)
(Reporter)

Comment 3

10 years ago
All 32bit machines in my case.

Comment 4

10 years ago
Does reinstall help? Reinstall into another empty folder? Works fine for me after a normal install...

Comment 5

9 years ago
I have seen this same symptom appear after an automatic upgrade. I have a system with 2.0.0.12 on Windows XP. I don't know what the version was before the automatic upgrade, but "Send to" used to work fine in Excel and Word, and now it doesn't (Insists on using Outlook if it is present, or saying "General Mail Failure" if I remove Outlook entirely)

"Send to" to thunderbird works fine if I right-click on a saved file outside of Excel/Word
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 6

9 years ago
To reiterate comment 4. Have you tried reinstalling? (Into another, empty folder.)

Comment 7

9 years ago
(In reply to comment #6)
> To reiterate comment 4. Have you tried reinstalling? (Into another, empty
> folder.)
> 

I can't speak for the original poster, but I have tried installing into anothe folder, and it makes no difference. I have tried installing thunderbird on a machine that has never had any version of thunderbird on it before, and it makes no difference. MAPI send to is broken on Windows with Thunderbird 2.x (I have tested up to 2.0.0.16)

I do have a workaround for this problem. If I install Thunderbird 15.0.0.14 and then I install 2.0.0.16 over the top of it, then MAPI send works everywhere, even inside Microsoft Word.

Note that my profiles make no difference. I get the same results with a pristine profile as I do with a old profile.

Also, In addition to affecting Microsoft Word, this problem also affects any Scanners which use MAPI to implement a "Scan To E-Mail" feature.
Has anyone reproduced with a non MS product?

I don't know of any special requirements for Word / Excel 2002 to use MAPI and it appears other apps aren't having a problem with using send to as stated in comment #0... does anyone else know of any? Office does rewrite the reg keys for icons and then stores it in a different part of the reg... it may be that it is doing the same here.

Comment 9

9 years ago
(In reply to comment #8)
> Has anyone reproduced with a non MS product?

I have reproduced it with the "Scan Document to E-Mail" feature of the HP's scan utility software for the HP Laserjet 3055.

(this was on two of the same computers where I tested the MS Office "Send To" problem)

Comment 10

8 years ago
I am having a similar problem. Occuring now after the upgrade to 2.0.0.22 was working fine before I did the update yesterday. Was working fine in all applications - Word, Excel, and Adobe Acrobate Professional 9. Any ideas on a fix would be appreciated. If not a fix, how do we go back to 2.0.0.21?

Comment 11

8 years ago
I am having a similar problem. Occuring now after the upgrade to 2.0.0.22 was working fine before I did the update yesterday. Was working fine in all applications - Word, Excel, and Adobe Acrobat Professional 9. Any ideas on a fix would be appreciated. If not a fix, how do we go back to 2.0.0.21? 

Tried to "fix" Acrobat and re-booted but still not working there or any of the other applications.

Comment 12

8 years ago
This problem does not just affect "Send To" in Microsoft Office XP 2002. This affects any MAPI send operation. For example, open "My Documents", right click on a file, and pick "Send To->Mail Recipient" and it will also fail. So will scanners that have a scan-to-email feature.

I do know a workaround for this problem. Apparently the problem is NOT with Thunderbird 2.0.0.22, the problem is actually with the automatic upgrade to 2.0.0.22

If you download the thunderbird installer from http://mozilla.org/ and manually reinstall, "Send To" will start working again.

(Also, hy67691@yahoo.com although you don't need to go back to an older version to fix this problem, there is a complete archive of all older versions available at ftp://ftp.mozilla.org/pub/thunderbird/releases/ )
Whiteboard: [64 bit + non-regression see Bug 393302]

Comment 13

8 years ago
I noticed [64 bit + non-regression see Bug 393302] added to the whiteboard, and I just wanted to notice that I have reproduced this problem on dozens of 32 bit machines. There is nothing 64-bit specific about this bug.

Comment 14

8 years ago
I have the same problem (XP Home, Word 2003).  The instructions to modify the registry values HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem 
fixed the problem.  See http://support.microsoft.com/kb/834008/en-us
for step-by-step instructions.

Comment 15

7 years ago
hello,

back to the original problem: 
- MS Word: "File > Send To > Mail Recipient" doesnt work
- Desktop: Send To > Mail Recipient works

I have this problem on every machine with NO MS-Outlook installed. If you install MS-Outlook (but set Thunderbird as default mailer) everything works as exepected.

The Problem still appears in TB 3.1!

-> Big problem for all People which have no Outlook installed...
Component: Installer → Simple MAPI
Product: Thunderbird → MailNews Core
QA Contact: installer → simple-mapi
Version: 2.0 → unspecified
(Assignee)

Comment 16

7 years ago
(In reply to comment #8)
> Has anyone reproduced with a non MS product?

Robert, please try a test program in bug 594224.

If HKEY_LOCAL_MACHINE\Software\Clients\Mail is not "Mozilla Thunderbird", you will not see a compose window of Thunderbird.
(In reply to comment #16)
> (In reply to comment #8)
> > Has anyone reproduced with a non MS product?
> 
> Robert, please try a test program in bug 594224.
> 
> If HKEY_LOCAL_MACHINE\Software\Clients\Mail is not "Mozilla Thunderbird", you
> will not see a compose window of Thunderbird.
I trust you. :)

That sounds like there is an OS bug if it requires the system level default to be set. Glad to see you are working on bug 594224.
(Assignee)

Comment 18

7 years ago
(In reply to comment #17)
> (In reply to comment #16)
> > (In reply to comment #8)
> > > Has anyone reproduced with a non MS product?
> > 
> > Robert, please try a test program in bug 594224.
> > 
> > If HKEY_LOCAL_MACHINE\Software\Clients\Mail is not "Mozilla Thunderbird", you
> > will not see a compose window of Thunderbird.
> I trust you. :)
> 
> That sounds like there is an OS bug if it requires the system level default to
> be set. 

Agreed. But I suppose Microsoft does not think so.

So if Thunderbird supports simple MAPI on Win XP, Thunderbird should change the system registry key for users.
(Assignee)

Updated

7 years ago
Summary: Thunderbird 2 does not configure Word XP (2002) "File, Send To: Mail Recipient" options → Thunderbird does not configure Word XP (2002) "File, Send To: Mail Recipient" options
I wouldn't be surprised if Microsoft does think it is a bug but won't fix it regretfully.
(Assignee)

Comment 20

7 years ago
Created attachment 475718 [details] [diff] [review]
A workaround for WinXP
Attachment #475718 - Flags: review?(robert.bugzilla)
Comment on attachment 475718 [details] [diff] [review]
A workaround for WinXP

This isn't a complete workaround since you won't always have admin privs though it will fix this for the case where the user is running with admin privs.

A potentially better solution would be to just steal that registry key on app update when we will typically have admin privs as well as on install.

You should probably get approval on the behavior of whichever workaround is used from someone on the Thunderbird team first and then I can review the code.
Attachment #475718 - Flags: review?(robert.bugzilla) → review-
(Assignee)

Comment 22

7 years ago
(In reply to comment #21)
> Comment on attachment 475718 [details] [diff] [review]
> A workaround for WinXP
> 
> This isn't a complete workaround since you won't always have admin privs though
> it will fix this for the case where the user is running with admin privs.

I think the function (SetAsDefaultMailAppUserHKCU) is always invoked with admin privs, isn't it?

http://mxr.mozilla.org/comm-central/source/mail/installer/windows/nsis/shared.nsh#667

> You should probably get approval on the behavior of whichever workaround is
> used from someone on the Thunderbird team first and then I can review the code.

I am going to request another person. Thank you for your quick review!
(In reply to comment #22)
> (In reply to comment #21)
> > Comment on attachment 475718 [details] [diff] [review] [details]
> > A workaround for WinXP
> > 
> > This isn't a complete workaround since you won't always have admin privs though
> > it will fix this for the case where the user is running with admin privs.
> 
> I think the function (SetAsDefaultMailAppUserHKCU) is always invoked with admin
> privs, isn't it?
No, it isn't. It is for setting the KHCU registry keys which don't require admin privs.
To all problem reporters in this bug after 2010/01:
Your problem is one explained in bug 618678? (mozMapi32_InUse.dll in DLLPath of the cited Win's registry entry in this bug too)
(Assignee)

Comment 25

6 years ago
No. This bug is for Windows XP not for Windows 7.
(In reply to comment #25)
> No. This bug is for Windows XP not for Windows 7.

Ikezoe san, bug 618678 was reported by Win7 user, but it's not Win7 only problem(there is no "Platform: Windows-All" choice.)
There seems being several variants in Simple MAPI problems with Tb;
 (1) Only installer creates relevant registry key.
 (2) DLLPath in the registry key is set as mozMapi32_InUse.dll by running Tb.
 (3) Some MAPI modules which Simple MAPI uses was broken by Win7
     after drop of Simple MAPI support by Win7. Hotfix by MS is available.
 Problems seem to have been born in this order. (2) is newer than (1).
 Win7 only problem is (3).
(Assignee)

Comment 27

5 years ago
Created attachment 643660 [details] [diff] [review]
Set HLKM key as possible

"-setDefaultMail" of command line options is already set HKLM\Software\Clients\Mail.

Outlook Express does set the key if the user has a write permission for the HKLM key.

This patch does set the key the user, who are going to install Thunderbird (or set Thunderbird as default mail client), has a write permission of the key. If the user does not have the permission, WriteRegStr silently fails.
Assignee: nobody → hiikezoe
Attachment #475718 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #643660 - Flags: review?(mbanner)
Comment on attachment 643660 [details] [diff] [review]
Set HLKM key as possible

Sorry for the delay, this looks fine.
Attachment #643660 - Flags: review?(mbanner) → review+
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/6090d96d358e
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 19.0
You need to log in before you can comment on or make changes to this bug.