Apache OpenOffice (AOO) Bugzilla – Issue 123728
Sending email with Outlook 64 fails with error message
Last modified: 2014-02-27 22:09:18 UTC
We are using OpenOffice Writer Documents and using "Send->EMail as PDF" function. With any 32bit mail applications like Thunderbird or Tobit we have no problems, but with Outlook 64 (64 Bit Version) we can't send any mails. We always get "Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Office Outlook and set it as the default mail client". But Outlook 64 is already default and the only client installed. Microsoft describes this problem here: http://msdn.microsoft.com/en-us/library/office/dd941355.aspx Looks like, OpenOffice is NOT using MAPISendMail, so this error occurs. Using Outlook 32 solves the problem... but I think this is a compatibility issue that should be fixed. regards Stefan Schmaltz P.S.: I'm a software developer. Maybe I can fix this if someone tell me where the mail send code is.
(In reply to schlocke from comment #0) > P.S.: I'm a software developer. Maybe I can fix this if someone tell me > where the mail send code is. Hi, first I'm no dev so don't take my word for granted. The email sending is done by senddoc.exe. The code for this is at: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/shell/source/win32/simplemail/ if you want competent help try adding the bug keyword "needhelp" maybe a dev or a members knows more.
*** Issue 122005 has been marked as a duplicate of this issue. ***
Bug 121427 is older than this, and seems to describe the same
Created attachment 82732 [details] Compiled senddoc.exe
Created attachment 82733 [details] Source
I fixt it. See attchement. Replace senddoc.exe in \App\OpenOffice\program Source is attaches. Just disabled MapiLogon and logoff
Thank you Stefan, for your source and the binary, I can't test it but take your word it works. I would adapt the code a bit further to remove the MAPILogon/MAPILogout entirely, but the idea is good. There are 2 reasons I can't push this now. 1) I think disabling MAPILogon & MAPILogout might might break working use cases on other platforms. 2) This code is accessible by API http://www.openoffice.org/api/docs/common/ref/com/sun/star/system/SystemMailProvider.html and I know too little to measure implications for 3rd party solutions. This needs further investigation. *lowering severity because there is a workaround now