Issue 121427 - no email program associated to perform the requested action
Summary: no email program associated to perform the requested action
Status: CONFIRMED
Alias: None
Product: performance
Classification: Code
Component: www (show other issues)
Version: AOO 3.4.1
Hardware: PC Windows 8, 8.1
: P3 Normal (vote)
Target Milestone: not determined
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-01 00:41 UTC by diane.brudelie
Modified: 2016-04-28 22:20 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Zipped Screen Captures Demonstrating Problem (85.48 KB, application/x-zip-compressed)
2012-12-01 19:36 UTC, orcmid
no flags Details
Confirmed Failure Even When Default Present (399.89 KB, application/x-zip-compressed)
2012-12-01 23:27 UTC, orcmid
no flags Details
Outlook 2016 Option Confirming Use as Default Mail App (68.29 KB, image/png)
2016-04-28 21:48 UTC, orcmid
no flags Details
Windows 10 COnfirming Outlook 2016 as Default Mail App (31.51 KB, image/png)
2016-04-28 21:51 UTC, orcmid
no flags Details
Selecting Send Document as E-mail ... (38.82 KB, image/png)
2016-04-28 21:58 UTC, orcmid
no flags Details
Immediate Failure of Send Document as E-mail request (28.33 KB, image/png)
2016-04-28 22:11 UTC, orcmid
no flags Details
AOO response to failure of Send Document as E-mail ... (32.03 KB, image/png)
2016-04-28 22:16 UTC, orcmid
no flags Details
Successful Creation of Email with Attached Document (43.17 KB, image/png)
2016-04-28 22:19 UTC, orcmid
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description diane.brudelie 2012-12-01 00:41:56 UTC
When using the text document, under File the Send then Document as email, I get a message that "There is no email program associated to perform the requested action.  Please install an email program or create an association in the Default Programs control panel"
I am using OpenOffice with Windows 8... The mail program that the computer uses as the default is Hotmail.  
Is there a resolution to this problem?
Comment 1 Ariel Constenla-Haile 2012-12-01 00:52:26 UTC
(In reply to comment #0)
> When using the text document, under File the Send then Document as email, I
> get a message that "There is no email program associated to perform the
> requested action.  Please install an email program or create an association
> in the Default Programs control panel"
> I am using OpenOffice with Windows 8... The mail program that the computer
> uses as the default is Hotmail.  
> Is there a resolution to this problem?

Hotmail is not a email program, I guess you are reading your mail in the web browser.

You need to install a email program like Microsoft Outlook Express, or the open source Thunderbird http://www.mozilla.org/thunderbird/ 
You can then set up these programs to get mail from your hotmail account.
Comment 2 orcmid 2012-12-01 02:35:05 UTC
(In reply to comment #0)
> When using the text document, under File the Send then Document as email, I
> get a message that "There is no email program associated to perform the
> requested action.  Please install an email program or create an association
> in the Default Programs control panel"
> I am using OpenOffice with Windows 8... The mail program that the computer
> uses as the default is Hotmail.  
> Is there a resolution to this problem?

If you are running Windows 8, there is a default "Mail" program.  This is the program that responds to URLs beginning "mailto: ...".

You can confirm if it is set by going to the desktop and opening the browser there.  

 a. In the tools menu (the gear in the upper right corner), select "Internet Options" and tab "Programs" there.

 b. Click the "Set Programs" button under the "Programs tab"

 c. On the "Default Programs" Control Panel dialog that opens up, click the "Associate a file type or protocol with a program" link.

 d. Scroll down the list to the end, where protocols are listed. You should see a protocol named MAILTO, a description of URL:mailto and a Current Default of "Mail".  (There might be more options if you have Microsoft Office Outlook installed, but I suspect you will have Mail.)

Close all of the desktop windows.  You should see Mail on the start menu if you have not customized it away.  If it is not there, right-click (or swipe to the bottom) of the Start screen and select "All Apps" and then pin "Mail" to Start.

Mail is an MX (MetroStyle) application that runs from the Start Bar only.  Open it.  It probably has you set up if you used a hot-mail address as your account on the Windows 8 machine.  

 a. If there is an account set up you will see its name and options on a left-sidebar.  There is also an option to add more e-mail accounts.  If there is an account, that is all you need to do on Windows 8.  If OpenOffice can't do the Send To ..., it depends on whether OpenOffice makes a mailto: request as a URL resolution.  

 b. If you need to setup an e-mail account or want to add another, I'm not sure where to find that.  If I find more, I'll update here.
Comment 3 Ariel Constenla-Haile 2012-12-01 13:19:05 UTC
Not a bug.
Please use the user support channels, like the forum and the mailing list:
http://www.openoffice.org/support/
http://user.services.openoffice.org/
Comment 4 orcmid 2012-12-01 17:48:50 UTC
(In reply to comment #3)
> Not a bug.
> Please use the user support channels, like the forum and the mailing list:
> http://www.openoffice.org/support/
> http://user.services.openoffice.org/

It may be a bug if the way of determining the presence of a default e-mail program, or invoking it, has changed on Windows 8.

I will see if I can confirm that.
Comment 5 orcmid 2012-12-01 19:36:47 UTC
Created attachment 79979 [details]
Zipped Screen Captures Demonstrating Problem

(In reply to comment #4)
> (In reply to comment #3)
> > Not a bug.
> > Please use the user support channels, like the forum and the mailing list:
> > http://www.openoffice.org/support/
> > http://user.services.openoffice.org/
> 
> It may be a bug if the way of determining the presence of a default e-mail
> program, or invoking it, has changed on Windows 8.
> 
> I will see if I can confirm that.

Screen Capture #1:

In WIndows 8 Pro (x64) I used AOOi 3.4.1 to create a small Writer document.  

I then used File | Send | Document as E-mail...

Screen Capture #2:

I saw the dialog (title "Email") saying there is no email program and an association in Default Programs needs to be made.

Screen Capture #3: 

After closing that dialog, there was an OpenOffice.org 3.4.1 dialog saying unable to find a working e-mail configuration, etc.

Screen Capture #4:

I manually entered "mailto:orcmid@apache.org" in the Windows 8 Run dialog box.

Screen Capture #5:

The default Mail application opened with a blank message and the To: filled in.  This was already set up with my Hotmail account set as the default.

I repeated #4 and #5 with only "mailto:" in Run, and I also got the default Mail application, only nothing was already filled in.

So there is more trouble-shooting to be done before this can be rejected as an user-solvable problem.
Comment 6 Ariel Constenla-Haile 2012-12-01 19:40:19 UTC
(In reply to comment #5)
> So there is more trouble-shooting to be done before this can be rejected as
> an user-solvable problem.

if you can confirm, then set the platform and version properly, then reopen
Comment 7 orcmid 2012-12-01 23:27:48 UTC
Created attachment 79980 [details]
Confirmed Failure Even When Default Present

(In reply to comment #6)
> (In reply to comment #5)
> > So there is more trouble-shooting to be done before this can be rejected as
> > an user-solvable problem.
> 
> if you can confirm, then set the platform and version properly, then reopen

This appears to be specific to Windows 8.

Findings: 

 1. There is no default mail application as part of the standard Windows 8 Pro installation.  The Mail MX (MetroStyle/ModernExperience...) application on the Start page does not work as a default, although mailto: URLs will route to it.

 2. When I installed Windows Live Essentials with Windows Live Mail, Windows Live Mail was established as the default email client, there being none other.  HOWEVER, Apache OpenOffice 3.4.1 still can't send documents in email directly, although other applications and Windows Explorer can.  It reports that no email client is found, although I can see it attempt to start.

DETAILS

 1. I confirmed there was no default, even though there is a Mail app, by attempting to Send documents in e-mail from WordPad (which has the feature) and from the Windows Explorer context menu (which as the feature).  These all failed with the message that is the first one seen with Apache OpenOffice when there is no default.

 2. See the screen snapshots in the attachment for the progression.
 2.1 When I installed Windows Live Essentials, Windows Live Mail also installed.  This is in addition to the Mail too that is already there.
 2.2 My existing Windows Live settings were capture.  Windows Live Mail is the same as Hotmail (now named Outlook.com).
 2.3 I had a simple ODF Text document.  I was able to send it from WordPad.
 2.4 I was able to right click on the document in its file folder and use the context menu to Send to | Mail recipient. 
 2.5 When I attempt the same thing in Apache OpenOffice Writer, I no longer get the Email message about there being no default.  In fact, I sometimes see Windows Live Mails start-up splash, but it goes away immediately.  I then see the OpenOffice.org 3.4.1 message about not finding a working e-mail configuration.
Comment 8 orcmid 2012-12-01 23:35:56 UTC
@Diane,

It is confirmed that there is no default e-mail on Windows 8 as it is installed.  There is a Mail app on the start screen that will work fine with Hotmail (by any of its names), but that won't work as a default e-mail for other applications.

One option is to download Windows Live Essentials 2012.  At least Windows Live Mail should be installed (there is a choice of which Live Essentials to install once the installation starts).  This will also work with Hotmail, etc.  Windows Live Mail will also be set as the default mail application if there is none already.

THE BAD NEWS:  This still won't work with Apache OpenOffice 3.4.1 although it works with other applications found on Windows 8 (WordPad and documents in file folders.)  Investigation continues.
Comment 9 Oliver-Rainer Wittmann 2012-12-05 10:02:48 UTC
adjusting platform as Ariel had suggested.
Comment 10 Ariel Constenla-Haile 2012-12-29 18:22:31 UTC
(In reply to comment #8)
> 
> THE BAD NEWS:  This still won't work with Apache OpenOffice 3.4.1 although
> it works with other applications found on Windows 8 (WordPad and documents
> in file folders.)  Investigation continues.

To interesting links indicate that:

a) we must build and install a 64 bits version of senddoc.exe, and use this one on a 64 bits Windows system

http://msdn.microsoft.com/en-us/library/dd941355%28office.14%29.aspx

b) we must use  MAPISendMailW instead of MAPISendMail as we do in shell/source/win32/simplemail/simplemapi.cxx

http://msdn.microsoft.com/en-us/library/dd296721.aspx
Comment 11 schlocke 2014-02-27 14:01:00 UTC
I fixt that here: https://issues.apache.org/ooo/show_bug.cgi?id=123728
Comment 12 orcmid 2016-04-28 21:48:13 UTC
Created attachment 85506 [details]
Outlook 2016 Option Confirming Use as Default Mail App

This screen capture of the Microsoft Outlook 2016 Options Panel confirms that Outlook is set as the default program for E-mail.
Comment 13 orcmid 2016-04-28 21:51:43 UTC
Created attachment 85507 [details]
Windows 10 COnfirming Outlook 2016 as Default Mail App

This screen capture of the Windows 10 Settings > System > Default apps settings confirms that the operating system recognizes Outlook 2016 as the default application for Email.  This is on the same system from which Attachment 85506 [details] was captured.
Comment 14 orcmid 2016-04-28 21:58:12 UTC
Created attachment 85508 [details]
Selecting Send Document as E-mail ...

This image is on the system with Attachment 85506 [details] and 85507 in effect.  This is the specific selection used to attempt to send a document open in Apache OpenOffice Writer via email.
Comment 15 orcmid 2016-04-28 22:11:37 UTC
Created attachment 85509 [details]
Immediate Failure of Send Document as E-mail request

Immediately on clicking the selection in Attachment 85508 [details], this error message is produced.  Notice that it appears to be from Microsoft Office Outlook, but it might be used generically by Windows 10 because Outlook is installed.  

This confirms that Windows/Outlook are recognizing a programmatic request to create an email message, but the request cannot be fulfilled for some reason.  The suggestion to set Outlook as the default mail client is spurious in this case because it is already the default as confirmed in Attachment 85506 [details] and Attachment 85507 [details].
Comment 16 orcmid 2016-04-28 22:16:31 UTC
Created attachment 85510 [details]
AOO response to failure of Send Document as E-mail ...

After accepting the Windows/Outlook message in Attachment 85509 [details], Apache OpenOffice receives a programmatic failure indication and makes this Attachment 85510 [details] report from within AOO Writer (in this case).
Comment 17 orcmid 2016-04-28 22:19:43 UTC
Created attachment 85511 [details]
Successful Creation of Email with Attached Document

Using the same request as in Attachment 85508 [details], but from within LibreOffice 5.0.0, this successful initiation of an E-mail message from a cousin of OpenOffice indicates that the difficulty is apparently that some necessary change to how email sending is supported on more-recent versions of Windows has not been adjusted to in Apache OpenOffice.  The test with LibreOffice is confirmation that adjustment is available.
Comment 18 orcmid 2016-04-28 22:20:38 UTC
Marking this issue as reproducible and confirmed.