Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nov 22, 2021 2:11:04 AM
Nov 16, 2021 1:58:46 AM
When sending emails using the Mail Connector in Qlik Application Automation, special characters in the Subject field may not be correctly formatted.
Example:
In Qlik Application Automation:
Email received:
The Send Mail block does not have native support for special characters in the Subject input field, but only supports UTF-8 characters. To use special characters, a Custom Code block can be used with some PHP code to format the text string to be used by the Subject input field.
Do the following:
$subject = $inputs['Subject'];
$subj = addcslashes(mb_encode_mimeheader($subject, "UTF-8", "Q"), '"');
echo $subj;
?>
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
Hi,
Although I don't have special characters and I have an error with send mail in automation: "Malformed UTF-8 characters, possibly in correctly encoded".
I have tried this solution but I have the same error.
Do you know another reason for this error?
Thanks