Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chilkat email software question
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01650779
Message ID:
01650806
Views:
47
>>I'm guessing that you're probably getting an error on the following line:
>>
loEmail.body=(&\advertising\allmarketinglatest.htm)
>>If your intent is to assign the contents of the file "\advertising\allmarketinglatest.htm" to the body property of object loEmail, then perhaps you should change it to:
>>
loEmail.body = FILETOSTR("\advertising\allmarketinglatest.htm")
>
>Naoto
>
>That is fantastic
>
>Thanks a lot
>
>Colin

You can also use loEmail.loadbodyfromfile("pathed file"), where the file is either plain text or html. I don't know the maximum string length in the control (I've never tried creating a huge body), but the loadbodyfromfile method would presumably eliminate any concern about length.

Hank
Previous
Reply
Map
View

Click here to load this message in the networking platform