Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
E-mail via Outlook Express
Message
From
19/10/2003 09:20:50
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00839944
Message ID:
00840099
Views:
15
Sergey,
Now it works. Although.. I also had to remove the leading spaces. The space before "?Subject" caused an address with an extra trailing space in OE (not in Outlook). A space before "&Body" is less dangerous, but now left out by me anyway.
lcParm = "mailto:"   + lcRecipient + ;
         "?Subject=" + lcSubject + ;
         "&Body="    + lcBody
>Try
lcParm = "mailto:"    + lcRecipient + ;
>         " ?Subject=" + lcSubject + ;
>         " &Body="    + lcBody
>
>>Hi All,
>>
>>Below is a part of a routine that prepares an e-mail.
>>
lcParm = "mailto:"    + lcRecipient + ;
>>         " &Subject=" + lcSubject + ;
>>         " &Body="    + lcBody
>>
>>declare integer ShellExecute in shell32.dll ;
>>    integer nWinHandle, ;
>>    string  cOperation, ;
>>    string  cFileName, ;
>>    string  cParameters, ;
>>    string  cDirectory, ;
>>    integer nShowWindow
>>
>>lnResult = ShellExecute( 0, "Open", lcParm, "", "", 1 )
>>In Outlook the To, Subject and Body parts are beautifully filled. However, in Outlook Express (OE) they are all put in the To clause and the string still contains the ampersand &.
>>
>>Is anybody familiar with this? What can be done about it?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform