Insert html in mail templates

I need customize the mails and I need introduce images.

I have created a template mail and the code html print directly in the mail

How can I insert html in mail?

Greetings.

Parents Reply
  • OK, thank you.

    Now, I want pass param.

    My script is:

    Public Function CCC_Print_Header_Mail(ByVal name As String , ByVal surname As String ) As String

    and the call in the template mail is:

    $SCRIPT(CCC_Print_Header_Mail,  "$FK(UID_PersonHead).FirstName$|$FK(UID_PersonHead).LastName$"):HTML$

    I have the error: Could not find a script with the correct signature.

    Greetings.

Children