Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character String!!
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048344
Message ID:
00048630
Views:
26
>>Samuel could you show us the exact command(s) you use for the MAMAPI? Perhaps you (or your program) are putting the '' around the text at another point. In VFP you pass a character parameter with '' around it (DO MyProg with 'EMAIL') and the value arrives as EMAIL with no quotes. Perhaps this program behaves differently with parameters.
>>
>>HTH
>>Barbara
>
>
>Hi Barbara,
>
>Basically I have two form, the first form contains a textbox for e-mail and a command button to simiply call another form while pass the value of the textbox (do form mail with ALLT(ThisForm.Text1.Value)).
>Then on the second form I create a Textbox and an Editbox for e-mail subject and body, as well as a command button that call up the e-mail program (do email with ALLT(ThisForm.email), ALLT(ThisForm.Text1.Value), ALLT(ThisForm.Edit1.Value)).
>The ThisForm.email is parameter that I pass from the first form. And I double check the value by using (=MessageBox(ALLT(ThisForm.email))). And it shows me the correct value which is a valid e-mail address.
>
>The email program that I using is written by Matt McDonnell. If you go to the file download section you should able to find it. In that program all it does is pass the parameters, make MSMAPI ole call and send the message to specific
>email address. The program works because it always give me a message for
>undeliverable mail because there a "'" around the e-mail address.
>
>Any ideas

Thanks for the complete descripton, Samuel. My only suggestion is to try putting your values into variables and passing the variables:

cVal = ALLT(ThisForm.Text1.Value)
do form mail with cVal)

I almost always pass parameters from variables instead of object values/properties, because I have had a few strange results in the path. Nothing I can document for your, just 'not always working correctly' stuff.

Sorry I can't help more
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform