Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chilkat email software question
Message
From
02/05/2017 12:47:09
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01650779
Message ID:
01650791
Views:
57
>>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform