Sample code for 30+ languages & platforms
VBScript

Create Email with Embedded Link

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

Chilkat VBScript Downloads

VBScript
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)

set email = CreateObject("Chilkat.Email")

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

email.SetHtmlBody html

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

mime = email.GetMime()
outFile.WriteLine(mime)

outFile.Close