Hi Peter,
To attach files requires additional parameters to the send email function, each email template has example expressions to as a guide.
// Basic email using template properties;
SendHTMLEmail("Contact Form");
// Email to defined recipients;
SendHTMLEmail("Contact Form", <Recipient list Keyword>);
// Email with attachments;
SendHTMLEmail("Contact Form", <Recipient list Keyword>, <Document list>, <Binary document list>);
You will need to use the third parameter and specify the document keywords (templates or pdfs) in a string list, for example: “Doc1JKey,Doc2Key” etc, or alternatively use a variable that contains the string list.
Kind Regards
Cara Gibson