print HTML Mail
Posted: Mon Jun 11, 2018 3:26 am
Hello,
i will sent my html data with the following script via E-Mail
var toEmail = 'michael.krautscheid@bohle.de.';
var bodyText = getObj("HtmlData").pui.properties.html;
alert(bodyText);
pui.link("mailto:"+encodeURIComponent(toEmail)
+"?subject=Besuchsbericht"
+"&body=" + bodyText
);
the html data are in a textarea and is defined as Graphic 16300 with ccsid(1200)
the pui link opens the outlook client , but the bodytext have the html tags ( eq <br> an so on )
if there a way to transform this ?
thanks a lot Michael
i will sent my html data with the following script via E-Mail
var toEmail = 'michael.krautscheid@bohle.de.';
var bodyText = getObj("HtmlData").pui.properties.html;
alert(bodyText);
pui.link("mailto:"+encodeURIComponent(toEmail)
+"?subject=Besuchsbericht"
+"&body=" + bodyText
);
the html data are in a textarea and is defined as Graphic 16300 with ccsid(1200)
the pui link opens the outlook client , but the bodytext have the html tags ( eq <br> an so on )
if there a way to transform this ?
thanks a lot Michael