Visual FoxPro
Visual FoxPro
Create Email with Embedded Link
Creating an email with an embedded link (HTML hyperlink).Chilkat Visual FoxPro Downloads
LOCAL loEmail
LOCAL lcHtml
LOCAL lcMime
loEmail = CreateObject('Chilkat.Email')
* To create an email with an embedded link, use HTML:
lcHtml = '<html><body><p>Click here for more information: <a href="http://www.chilkatsoft.com/">Chilkat Software</a></body></html>'
loEmail.SetHtmlBody(lcHtml)
* Continue building the email by adding the subject, recipients, etc...
lcMime = loEmail.GetMime()
? lcMime
RELEASE loEmail