mapi32: Resolve FIXME regarding attachment lists in MAPISendMail function
Mark Neyhart
Mark_Neyhart at legis.state.ak.us
Fri Dec 21 15:37:00 CST 2007
Lei Zhang wrote:
> On Dec 21, 2007 10:06 AM, Mark Neyhart <Mark_Neyhart at legis.state.ak.us> wrote:
>> Lei,
>> I am aware that Mozilla and Thunderbird do not support attachments via
>> mailto. I resolved that with a simple wrapper which changes the mailto
>> option into the standard command line options which do support attachments.
>> The wrapper name can be specified the wine registry.
>>
>
> Your script is probably unnecessary, since there's already a tool for
> Linux email integration called xdg-email. It doesn't support
> attachments for Thunderbird yet, but I already submitted a patch. [1]
>
> You should specify the attachment file names as /path/to/file, which
> is the format supported by xdg-email and every other Linux mail
> client, rather than file:///path/to/file, which doesn't work for
> anything but your script.
>
> - Lei
>
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=13435
I just used the URI style because that is what Mozilla uses on the
command line, but if that is an uncommon usage it makes sense to use
/path/to/file instead. I also surrounded the attachment file list
with single quotes as per the Mozilla specification. I should
probable get rid of those as well. The attachment portion of the
mailto string will change from
&attachment="'file:///path/to/file1,file:///path/to/file2'"
to
&attachment="/path/to/file1,/path/to/file2"
More information about the wine-devel
mailing list