Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chilkat email software question
Message
 
À
02/05/2017 12:13:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01650779
Message ID:
01650784
Vues:
47
>I don't now Chilkat, but I notice that you set a value for loEmail.Body twice, where the second will overwrite the first one.
>
>>I want to send a document as body of text in Chilkat email software
>>
>>My present code is
>>
>>But my code for loEmail.Body is wrong - can anyone help?
>>
>>
>>loMailman.SmtpHost = "auth.smtp.1and1.co.uk"
>>loMailman.SmtpUsername = "colin@colin-northway.com"
>>loMailman.SmtpPassword = "ngoloosh"
>>loEmail = CreateObject('Chilkat.Email2')
>>loEmail.Subject = "Can I help you" 
>>loEmail.Body = "Can your business use some expert advice about sales, marketing, customer retention or IT"
>>loEmail.body=(&\advertising\allmarketinglatest.htm)
>>loEmail.From = "colin@colin-northway.com" 
>>loEmail.AddTo("client ","&eccmail")
>>*lcContentType = loEmail.AddFileAttachment("m:\advertising\allmarketinglatest.htm")
>>IF (lcContentType = NULL ) THEN
>>    =MESSAGEBOX(loEmail.LastErrorText)
>>    QUIT
>>ENDIF
>>lnSuccess = loMailman.SendEmail(loEmail)
>>
Yes I have taken out the 2nd occurence but my code is still wrong

Thanks anyway

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform