Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem emailing HTM attachment in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxExpress
Title:
Problem emailing HTM attachment in VFP
Miscellaneous
Thread ID:
01652684
Message ID:
01652684
Views:
55
my email set up looks like this


loEmail.Subject = "Marketing, Customer Retention or IT. Could you use help?"
loEmail.Body = FileToStr("m:\advertising\my qualifications as a business trainer.htm")
loEmail.From = "colin@colin-northway.com"
loEmail.AddTo("","&eccmail")
lcContentType = loEmail.AddFileAttachment("")
IF (lcContentType = NULL ) THEN
=MESSAGEBOX(loEmail.LastErrorText)
QUIT
eNDIF
lnSuccess = loMailman.SendEmail(loEmail)

My htm file which is body of text starts like this

My qualifications as a business trainer
I have run 3 companies very successfully

1. A start up within an existing direct mail company – DDM Advertising
Found the premises


When I receive the email the body of text it looks like this

                                                                                        My qualifications as a business trainer

          I have run 3 companies very successfully



           1. A start up within an existing direct mail company – DDM Advertising

Found the premises


What is causing this problem?


Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Reply
Map
View

Click here to load this message in the networking platform