Andy Davies wrote: > if anyone's interested Andrew Stirling's code even works for Notes, but > doesn't do attachments: > And there's the rub <s>
> DECLARE INTEGER ShellExecute IN shell32.dll ; > INTEGER hndWin, ; > STRING cAction, ; > STRING cFileName, ; > STRING cParams, ; > STRING cDir, ; > INTEGER nShowWin > > cAction='Open' > cFileName = 'mailto:'+'[email protected]' ; > + '?Subject=' +'Re: Start default mail client with blank message and file > attachment' ; > + '&Body='+'The Body was a film star' ; > + '&Att='+'C:\temp\tmp.txt' > * + '&Attachments='+'C:\temp\tmp.txt' > * + '&Attach='+'C:\temp\tmp.txt' > > ShellExecute(0,cAction,cFileName,"","",1) > > Andrew Davies MBCS CITP > - AndyD 8-)# > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

