Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chilkat Email
Message
From
19/06/2017 12:09:42
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
01652120
Message ID:
01652121
Views:
70
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform