Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch Default Email
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00673868
Message ID:
00833098
Views:
30
Hi Peter,

First, I couldn't get it to work on my work PC with Outlook 2000. It turned out that not only full path is required but attachment file name has to be enclosed in the double quotes (as shown in your code) otherwise it's ignored. My guess is that it should work with OE also but I can test it later tonight only.

>>>Hi Sergey
>>>
>>>Is there any way to expand on your 'mailto' example to include sending an attachment?
>>
>>I don't think you can do that.
>
>This is a very old thread and it may be that some other message already contains the tip on how to include an attachment. But I could not find such a message, so I decided to post it in this place. It was only tested with Outlook 2000. Note that lcFile must include the path.
>
>
lcParm = "mailto:" + lcRecipient + ;
>         " &Subject=" + lcSubject + ;
>         " &Body="    + lcBody + ;
>         iif( not empty( lcFile ), ' &Attach="' + lcFile + '"', "" )
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform