mapi32: Resolve FIXME regarding attachment lists in MAPISendMail function

Mark Neyhart Mark_Neyhart at legis.state.ak.us
Fri Dec 21 12:06:03 CST 2007


> On Dec 21, 2007 2:36 AM, Hans Leidekker <hans at it.vu.nl> wrote:
>> On Friday 21 December 2007 00:18:43 Mark Neyhart wrote:
>>
>>> Extend the MAILTO: string produced by the MAPISendMail function to include
>>> an attachment list. Because I was unable to find any standard for MAILTO
>>> regarding attachments, I constructed the attachment list in the format
>>> specified for Mozilla command line options.
>> Breaking other mail clients to gain attachments support for Mozilla is not
>> acceptable tradeoff IMO.
>>
>>  -Hans
>>
>>
>>
> 
> Mozilla and Thunderbird do not support attachments via mailtos. At
> least not on Linux.
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=99055#c6
> 
> - Lei
> 
> 

Hans,
As the code stands right now, attachments are not supported at all.  Using the
MAPISendMail function with a file list will bring up an email client with no
file(s) attached.  This seems to be absolutely useless, since the file(s) will have
to be manually attached before sending the message.  This patch will provide
at least the possibility for email clients to make use of the added parameter.

How about if I use the &attachment= parameter only if a file list is
provided by the caller to MAPISendMail?  That way applications which are
not attempting to provide attachments will work the same way as before.

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.





More information about the wine-devel mailing list