http://bugs.winehq.org/show_bug.cgi?id=11770
--- Comment #15 from Owen Rudge owen@owenrudge.net 2009-11-12 01:51:30 --- (In reply to comment #14)
Using xdg-mail?
As you can see at:
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/mapi32/sendmail.c;h=cbb...
attachment support is simply not included in the fallback routine, which uses the system default mail client. Mainly because there is no universal protocol for attachments via mailto: - certain clients ignore attachments completely, or know of them but disallow them, or just don't know of them and ignore the entire request, as discussed in the other comments.
Ideally, what needs implementing is a Wine-specific MAPI provider which passes through MAPI calls to the native mail client (possibly via xdg-mail on Linux, for instance). At the moment, if any Windows MAPI provider (eg, Outlook, OE, Thunderbird) is installed, the fallback routine is ignored. Providing a Wine MAPI provider would mean it would be listed in the list of mail clients in Internet Options, and the user could therefore pick such a mail client as their preference.
This is something I might do at some point - it would be relatively straightforward. But the attachment issue is still a problem as long as e-mail clients have no agreed way of programmatically attaching files to mails.