Sample code for 30+ languages & platforms
Classic ASP

Create Email with Embedded Link

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

Chilkat Classic ASP Downloads

Classic ASP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set email = Server.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()
Response.Write "<pre>" & Server.HTMLEncode( mime) & "</pre>"

%>
</body>
</html>