https://bugs.documentfoundation.org/show_bug.cgi?id=126597
Bug ID: 126597
Summary: Don't crash Outlook 2016 when sending multiple
attachments mail via SimpleMail
Product: LibreOffice
Version: 6.0 all versions
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
LO provides the SimpleMail interface to compose and send mails on Windows using
a wrapped MAPI.
When using SimpleMail with multiple attachments, this crashes Outlook 2016 or
returns an MAPI_E_FAILURE.
This is a regression from commit 5874c7637156 ("tdf#116074: Use modeless
dialogs with supporting mailers"). There seems to be multiple problems with the
usage of MAPI_DIALOG_MODELESS.
Even IE uses MAPI_DIALOG and threads, to prevent the blocking.
Steps to Reproduce:
1. Execute the attached email macro
or
1. run senddoc.exe with a variant of
--subject Test
--to SMTP:[email protected]
--attach C:\Users\JAN-MA~1\AppData\Local\Temp\lu2996h1g7x4.tmp
--attach-name a.pdf
--attach C:\Users\JAN-MA~1\AppData\Local\Temp\lu2996h1g7x5.tmp
--attach-name b.pdf
--mapi-dialog
--mapi-logon-ui
--langtag de-DE
--bootstrap file:///C:/LODEV/program/soffice.ini
For the macro variant senddoc.exe is run in the background for current LO
master.
Actual Results:
Outlook 2016 crashes (most times) or reports an MAPI_E_FAILURE.
Expected Results:
No crash
Reproducible: Always
User Profile Reset: No
Additional Info:
Just happens with software that actually supports MAPI_DIALOG_MODELESS.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs