https://bugs.winehq.org/show_bug.cgi?id=11770
--- Comment #25 from Mark Neyhart Mark.Neyhart@akleg.gov --- Comment on attachment 60687 --> https://bugs.winehq.org/attachment.cgi?id=60687 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.