https://bugs.winehq.org/show_bug.cgi?id=11770
--- Comment #26 from Austin English austinenglish@gmail.com --- (In reply to Mark Neyhart from comment #25)
Comment on attachment 60687 [details] Patch winemapi.dll to support SendTo from Excel and Word
Here is the latest version of the patch that I have been using for the last 10 years. It uses WineBrowser to call xdg-email. Required registry entries are
[HKEY_CURRENT_USER\Software\Wine\WineBrowser] "Mailers"="xdg-email"
[HKEY_LOCAL_MACHINE\Software\Clients\Mail] @="Native Mail Client"
I have been using this successfully to support the Send To function for Word 2003, Word 2007, Excel 2003, and Excel 2007 in various versions of Crossover Office. It uses temporary files to hold the attachments which do not get cleaned up because I don't know when the email client is done with them. The code is written to support multiple attachments, but I don't know how well it works because Word and Excel only attach one file via the Send To function.
WineBrowser seems to handle the &attach= parameter without issue.
I can confirm this works with Advanced SystemCare (bug 40534), which tries to attach its bug report to an email to send to its support team. Without the patch it opens thunderbird with a subject/to, but no attachments. With it, my bug report and screenshot are attached.
@Mark, if you're not aware, patches are not picked up from bugzilla. Please see https://wiki.winehq.org/Submitting_Patches for how to send your patch into Wine.