Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chilkat email software question
Message
De
02/05/2017 12:47:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01650779
Message ID:
01650791
Vues:
53
>>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

Do you get any errors?
Can you point me to the documentation you have`used as reference?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform