Open paulpobouche opened 4 months ago
Hi everyone!
I am facing a padding issue while writing an email with your life-saving package.
Let's see the expected result here with the website https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro:
But when I run it in R, here is what I get on Outlook :
Have you ever faced this? Do you know what do I do wrong?
Here are the HTML codes & R simple body
HTML
<div style="background-color: SteelBlue; padding: 25px;"> <p style=""> <span style="font-family: Calibri; font-size: 12pt; color: white; display: block;"><b>This is my padded title</b></span> </p> <p style=""> <span style="font-family: Calibri; font-size: 12pt; color: white; display: block;">This is my padded text</span> </p> </div>
R
body <- "<div style=\"background-color: SteelBlue; padding: 25px;\"><p style=\"\"><span style=\"font-family: Calibri; font-size: 12pt; color: white; display: inline-block;\"><b>This is my padded title</b></span></p><p style=\"\"><span style=\"font-family: Calibri; font-size: 12pt; color: white; display: block;\">This is my padded text</span></p></div>" email[["HTMLbody"]] <- body
Thank you!
Hi everyone!
I am facing a padding issue while writing an email with your life-saving package.
Let's see the expected result here with the website https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro:
But when I run it in R, here is what I get on Outlook :
Have you ever faced this? Do you know what do I do wrong?
Here are the HTML codes & R simple body
HTML
R
Thank you!