I'm sending this HTML with the PHP mail()
function:
<div>hello<div><br></div><div>dsfs</div><div><b style="background-color:rgb(255,0,0)">dfs</b></div><div><b style="background-color:rgb(255,0,0)">df</b></div><div><b style="background-color:rgb(255,0,0)">sdf</b></div><div>sdf</div>
<div>sdfff</div></div>
It's a really simple HTML email, but Gmail shows this:
hello
dfs
df
<= div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13p= x;background-color:rgb(255,255,255)"> sdf
sdf
sdfff
Why is Gmail truncating my HTML and how can I fix it?
i'm directly catching the html code what was sent from gmail file_get_contents("php://stdin"); and processing this to extract the html code (i only remove the headers), therefore the html is perfectly correct and i don't must edit this. then, why if gmail send the html to another gmail this looks good but else i send the html this is a html disaster?
seriously, the html is perfectly according gmail
`, `
` and that sort of tags on. Probably you can try to use a `