Sample code for 30+ languages & platforms
Lianja

Create Email with Embedded Link

Creating an email with an embedded link (HTML hyperlink).

Chilkat Lianja Downloads

Lianja
loEmail = createobject("CkEmail")

// 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