Hello, I'm trying to set up phpmailer to send a message in html with css, but it's not recognizing the css.
What's wrong?
$mail->Body = '
<style type="text/css">
.corpo {margin: 15px;padding: 15px;background-color: #FFF;}
.body {background-color: #E1E1E1;font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;font-size: 16px;}
</style>
<div class="body">
<div class="corpo">
<p><img src="http://...../images/logoEmpresa.png"width="90" height="50"></p>
<p>O conteúdo da nova tag div é inserido aqui</p>
</div>
</div>
';