Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chilkat Email
Message
 
To
19/06/2017 13:20:22
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
01652120
Message ID:
01652136
Views:
59
>>>>How do I get the document shown below as body of text - the way I have it below just shows the name of the document
>>>>
>>>>loMailman.SmtpHost = "auth.smtp.1and1.co.uk"
>>>>loMailman.SmtpUsername = "colin@colin-northway.com"
>>>>loMailman.SmtpPassword = "ngoloosh"
>>>>loEmail = CreateObject('Chilkat.Email2')
>>>>loEmail.Subject = "Marketing, Customer Retention or IT. Could you use help?"
>>>>loEmail.Body = "m:\advertising\businessstrategy.doc"
>>>>loEmail.From = "colin@colin-northway.com"
>>>>loEmail.AddTo("","&eccmail")
>>>>lcContentType = loEmail.AddFileAttachment("m:\advertising\businessstrategy.doc")
>>>
>>>loEmail.Body = FileToStr("m:\advertising\businessstrategy.doc")
>>>
>>>Another question is if the document will appear as you want it, I doubt it.
>>
>>Tore
>>
>>Works fine when I set it as an HTM - Doesnt work properly as a doc
>>
>>Thanks
>>
>>Do you know of an easy way to create and edit htm pages?
>>
>>Colin
>
>No surprise since most email readers are made for plain text and HTML, and a Word doc is none of these formats.
>
>You can use Word, but there are far better tools available, mostly since Word wasn't really made for HTML. Unfortunately I can't recommend any specific editor since it will depend on what you need and how much HTML you already know. Personally I use Visual Studio, but it is overkill for most people. I would recommend that you search on Google.

Thanks
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