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

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 12 01:51:31 CST 2009


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





--- Comment #15 from Owen Rudge <owen at 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=cbbff9847e9400f46ffd8aa24398b12a441598fc;hb=HEAD#l455

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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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