Sample code for 30+ languages & platforms
DataFlex

Create Email with Embedded Link

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

Chilkat DataFlex Downloads

DataFlex
Use ChilkatAx-win32.pkg

Procedure Test
    Handle hoEmail
    String sHtml
    String sMime

    Get Create (RefClass(cComChilkatEmail)) To hoEmail
    If (Not(IsComObjectCreated(hoEmail))) Begin
        Send CreateComObject of hoEmail
    End

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

    Send ComSetHtmlBody To hoEmail sHtml

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

    Get ComGetMime Of hoEmail To sMime
    Showln sMime


End_Procedure