[Bug 11770] mapi32.dll.so does not support attachments for sending mail

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 16 16:50:44 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=11770

Jeremy White <jwhite at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwhite at codeweavers.com

--- Comment #23 from Jeremy White <jwhite at codeweavers.com> ---
I've spent some time exploring this.

I considered three approaches.  The first involved modifying winebrowser to add
an &attach= stanza to the mailto URI.  That works with xdg-email and
Thunderbird on XFCE on Linux.  It's not clear if it would work anywhere else,
and the &attach= expression is not a documented part of the mailto uri
specification.

The second approach was to create an xdgmime dll, parallel to the winemapi dll.
 The downside to that is that the mapi32 specification does not seem to allow
for any sort of cascade or fallback, or any way to intelligently set a default
provider.  So while that felt more correct in some ways, it seemed likely to
result in bit rot, and thus be less desirable.

Finally, I decided to modify winemapi dll itself to look for xdg-email, and if
found, use it directly, rather than going through winebrowser.  A patch with
this change was submitted here:
  https://www.winehq.org/pipermail/wine-devel/2016-November/115298.html

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list