Bug 97792 - Sending mail fails on Windows 10 with Mail app
Summary: Sending mail fails on Windows 10 with Mail app
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: File-Send
  Show dependency treegraph
Reported: 2016-02-12 11:00 UTC by Gerhard Schaber
Modified: 2020-03-30 09:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Schaber 2016-02-12 11:00:02 UTC
With Windows 10 it is not possible to send mail via the Mail app. Neither via the File menu, nor via Basic:

mailSvc = createUnoService("com.sun.star.system.SimpleSystemMail")
mailClient = mailSvc.querySimpleMailClient()
msg = mailClient.createSimpleMailMessage()
msg.setCcRecipient(Array(mailCCAddr, ";"))
msg.Body = "Content"
mailClient.sendSimpleMailMessage(msg, com.sun.star.system.SimpleMailClientFlags.DEFAULTS)

The default client is set to the Mail app that is coming with Windows 10.
Windows 10 Pro 64bit in Virtualbox VM.

It works with normal (non app?) programs such as Mozilla Thunderbird.
Comment 1 Xisco Faulí 2017-04-13 09:46:06 UTC
Hello Gerhard,

Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Gerhard Schaber 2017-04-13 15:02:40 UTC
Same thing. Tried with

I have even installed the Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 from https://www.microsoft.com/en-us/download/details.aspx?id=1004, and selected the Windows mail app as default mail application in Windows 10 (version 1703, build 15063).
Comment 3 Dennis Roczek 2017-04-24 09:46:05 UTC
That's strange. When Mail is the Standard App; mailto: Links do open Mail but when sending per Writer Outlook opens and attaches file...

something is fishy here!
Comment 4 Gerhard Schaber 2017-04-24 10:16:07 UTC
It seems it uses a different protocol when mailto is associated with an app instead of a desktop program.
Comment 5 Dennis Roczek 2017-04-24 15:34:24 UTC
no, i just rechecked: the mailto: protocol is associated at the moment with Mail.

so, I have no clue. ;-)
Comment 6 Sam Smith 2018-09-24 10:34:43 UTC Comment hidden (spam)
Comment 7 Ava William 2018-10-29 09:47:02 UTC Comment hidden (spam)
Comment 8 Ramson Roni 2019-05-08 22:59:18 UTC Comment hidden (spam)
Comment 9 AngelaAngie 2020-03-28 11:36:57 UTC Comment hidden (spam)