Hello good morning companions, my doubt is that as I can send CSS
styles by email, I have my images and CSS styles on a server but at the time of sending them, only the images appear and not the styles, somehow to do this?
This is the body of the message I sent
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hello México</title>
<link rel="icon" type="image/png" href="http://www.hellomexico.mx/assets/img/fabicon.png" />
<link rel="stylesheet" href="http://www.hellomexico.mx/assets/css/style.css">
<link rel="stylesheet" href="http://miservidor/assets/css/resset.css">
<link rel="stylesheet" href="http://miservidor/assets/css/bootstrap.css">
<meta name="description" content="Hello México Agencia de Contenidos Digitales">
<meta name="keywords" content="HelloMéxico,HelloMx,Hello,México,Agencia,Contenidos,Digitales,HelloWord,App,Mobile,Aplicaciones,Móviles,Desarrollo,Software,Android,Java,
iOS,Swift,C#,.NET,Unity,UNITY,Angular,AngularJS,JS,JSON,Ajax,Javascript,HTML5,CSS3,PHP,MySQL,SQL,Oculus,VR,OculusVr,OculusRift,Rift,Leap,Motion,LeapMotion,Digital,Experience,
DigitalExperience,Experiencias,Digitales,Activaciones,Instagram,Facebook,Twitter,Landing,Page,LandingPage,Aplicaciones,Web,Sitios,Google,Server,Desarrolladores,Servicios,Services
Consumo,Push,Notificaction,Interfaces,Gráfica,Interfaz,Mockups,Wireframes,Servicio,Social,Becarios,Practicas,Profesionales,Ultra,Plus,sdasdasd">
<meta name="author" content="Hello México">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body style="font-family: 'glight', sans-serif;">
<nav class="navbar navbar-inverse fixed-top-inverse">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Navega</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<ul class="nav navbar-yellow">
<a class="navbar-brand" href="#"><img src="http://www.hellomexico.mx/assets/img/images/logo_menu.png" width="50px"></a>
</ul>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="#"><h4>¿Cómo tener un <strong>Office Garden</strong>?</h4></a></li>
</ul>
</div>
</div>
</nav>
<br><br><br>
<div>
<img id="ninoHello" src="http://miservidor/assets/img/INFOGRAFIA_OFFICE_GARDEN_V01.jpg">
</div>
<div id="foooter" align="center">
<p id="txtLight3">Para ver el artículo completo, da click <a href="#">aquí</a>.</p>
<p id="txtLight3">Si ya no quieres recibir nuestros mensajes o deseas cancelar tu suscripción de nuesta lista de correos, da click <a href="http://127.0.0.1:8000/rechazar/{{$correos->id_cor}}">aquí</a>.</p>
<!--<p id="txtLight3">Tel: 55 7095 6397</p>-->
</div>
</div>
</div>
</div>
</body>
<footer>
</footer>
</html>
and This is on my controller
public function mandarCorreos()
{
$aceptados = DB::table('correos_automaticos')
->where('rechazar', '=', 0)
->get();
foreach ($aceptados as $a) {
$correos = CorreosAutomaticos::findOrFail($a->id_cor);
Mail::to($a->correo)->send(new MandarCorreosMail($correos));
}
$aceptados = DB::table('correos_automaticos')
->where('rechazar', '=', 0)
->get();
$rechazados = DB::table('correos_automaticos')
->where('rechazar', '=', 1)
->get();
return view('Correos.correos', ['aceptados'=>$aceptados, 'rechazados'=>$rechazados]);
}
I appreciate your help