Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem emailing HTM attachment in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxExpress
Titre:
Problem emailing HTM attachment in VFP
Divers
Thread ID:
01652684
Message ID:
01652684
Vues:
56
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
Répondre
Fil
Voir

Click here to load this message in the networking platform