Hey All,
I'm having an odd experience with Wix Triggered Email Templates.
It seems that Microsoft email clients aren't rendering correctly (go figure), both Outlook and Windows Mail client are failing. I've attached screenshots of the template, correctly rendered, as well as when rendered in Outlook/Mail. Here is the code that triggers the email and provides the variables.
export function submit_click(event, panasonicResult) {
showConfirm();
let city = $w('#city').value;
let state = $w('#state').value;
let ppw = $w('#text55').text;
let marketppw = $w('#text47').text;
$w('#city2').html = "<h5>In " + city + ", " + state + "</h5>";
wixCRM.createContact({
"name": $w('#name').value,
"emails": [$w('#email').value]
})
.then((contactID) => {
console.log("contactID", contactID)
wixCRM.emailContact('RHKKDTB', contactID, {
variables: {
"name": $w('#name').value,
"radio2": $w('#radio2').value,
"input2": $w('#input2').value,
"radio1": $w('#radio1').value,
"input3": $w('#input3').value,
"radio3": $w('#radio3').value,
"input1": $w('#input1').value,
"phone": $w('#phone').value,
"solarResult": $w('#text26').text,
"marketPrice": $w('#text47').text,
"module": $w('#text30').text,
"city": $w('#city').value,
"state": $w('#state').value,
"ppw": $w('#text55').text,
"marketppw": $w('#text47').text,
}
})
.catch((err) => {
console.log(err);
})
})
}
![Outlook / Windows Mail Render](https://static.wixstatic.com/media/a27d24_dbf420702cb04435a4af734edfd78795~mv2.png/v1/fill/w_980,h_1506,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_dbf420702cb04435a4af734edfd78795~mv2.png)
![Gmail Web Render](https://static.wixstatic.com/media/a27d24_6f773e81ae9f4b5b92f91b1240355d63~mv2.png/v1/fill/w_980,h_1446,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_6f773e81ae9f4b5b92f91b1240355d63~mv2.png)
Any and all help is appreciated.
Thank you!
Also: It seems removing the bullet point and indenting the previously bulleted section fixes this issue. Doesn't explain why Outlook has such a hard time, but there's that.