Sample code for 30+ languages & platforms
Xbase++

Create Email with Embedded Link

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

Chilkat Xbase++ Downloads

Xbase++
LOCAL oEmail
LOCAL cHtml
LOCAL cMime

oEmail := CreateObject("Chilkat.Email")

//  To create an email with an embedded link, use HTML:
cHtml := '<html><body><p>Click here for more information: <a href="http://www.chilkatsoft.com/">Chilkat Software</a></body></html>'

oEmail:SetHtmlBody(cHtml)

//  Continue building the email by adding the subject, recipients, etc...

cMime := oEmail:GetMime()
? cMime

oEmail:destroy()