Subject:Email not in HTML as expected Author:Bruce Cantor Date:23 Feb 2022 12:56 PM
Can somebody give me a hint to what I need to do to get this code to work?
I am trying to let xquery send an email in formattet HTML, but all the tags are stripped away when sending, so the receiver only receives a mail in text format.
declare namespace es = "ddtekjava:com.ivitechnologies.pipeline.ext.email.EmailSession";
declare namespace em = "ddtekjava:com.ivitechnologies.pipeline.ext.email.Email";
declare namespace p1 = "http://generic.xml.eetgroup.com";
declare function es:EmailSession($settings as element(*, xs:untyped)) as ddtek:javaObject external;
declare function es:sendEmail($this as ddtek:javaObject, $email as ddtek:javaObject) as xs:boolean external;
declare function em:Email($sender as xs:string,
$recipients as xs:string,
$subject as xs:string,
$body as xs:string,
$message_mime_type as xs:string
) as ddtek:javaObject external;
declare function em:setHeader($name as xs:string, $value as xs:string) as xs:string external;