[Libreoffice-bugs] [Bug 126597] New: Don't crash Outlook 2016 when sending multiple attachments mail via SimpleMail

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 29 13:05:44 UTC 2019


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: glogow at fbihome.de

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:a at b.cd
--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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190729/ad5ea214/attachment.html>


More information about the Libreoffice-bugs mailing list