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

Click here to load this message in the networking platform