Sample code for 30+ languages & platforms
B4X

Create Email with Embedded Link

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

Chilkat B4X Downloads

B4X
Dim email As ChilkatEmail
email.Initialize

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

email.SetHtmlBody(html)

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


Dim mime As String
mime = email.GetMime
Log(mime)