Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Feb 21, 2023 8:41:08 AM
Sep 28, 2021 2:33:55 AM
Content:
To create a Mail connection in Application Automation, do the following:
The Mail connection will now be listed in My connections.
Verify the Mail connection by creating a simple automation.
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.
TIP:
When adding html code to the body section, you should add single line compressed code. Otherwise, line break <br> will be added to the html code when sending the email.
Subject field can't handle especial charset like à, õ.... I believe it's because the html charset is not utf-8... is that correct?
A turnaround for special charsets:
1. Go to https://3v4l.org/O8Wqq#v8.1rc3 (Online PHP Editor)
2. Add the code bellow. This function will encode your string to mime header.
<?php
$name = "My Spécial subject ❤ "; // your subject
$addr = addcslashes(mb_encode_mimeheader($name, "UTF-8", "Q"), '"');
echo $addr;
?>
3. Click the eval(); button.
4. Copy the output and paste it to the Subject field on the automation mail block.
*Workaround
@sfbi That is a valid workaround. Another would be to put the php code into a custom code block and use the output from the block as the input for the subject field in the Mail connector:
Nice... didn't knew that is was possible!
It might be worth noting that this connector does not work when SSO is applied to the mail service.
Hello,
I try to configure an email block but using outlook address i face some issues
In the connection block email i put the following
When i look into the qlik management console setting and mail settings i have this
Thank you
Hello @random_user_3869
I would recommend posting about this issue in our Qlik Automation forums to make use of our active userbase and our agents.
All the best,
Sonja