Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Chilkat Email
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01652338
Message ID:
01652497
Views:
43
>>>>I want the email body to have the contents of the coppins.doc
>>>>So i set the body as loEmail.Body = FileToStr("c:\my documents\the coppins.doc")
>>>>The resultant email is rubbish with all different font sizes
>>>>If I set the email body as coppins.htm - the resultant email is OK
>>>>Is FileToStr("c:\my documents\the coppins.doc") the wrong way of specifying a document as body of mail?
>>>
>>>yes
>>>email clients expect only pure text or html streams and some clients are set not show html.
>>>other file formats should be set as attachments, so clients can try to open other applications to show attachment
>>
>>if I am sending to clients which read htm or html how can I put pictures in the file - I have one gif and one jpg image in the file
>>
>>Does this mean that I have to send the file as an attachment?
>
>You can inline (into htm/html) images by changing the tag source and base64-encoding the image. Google "inline image in html" and you will find sites that do conversion for you. It's quite easy to do once you see the pattern.
>


>Hank


Thanks

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform