I run into the following problem, add an html template that I created myself to be displayed in the mail sent from my system but when I receive it I realize that my logos are not displayed.
This is my template code for the email, the path is src/template/layout/Email/html:
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<header>
</header>
<table width="560" cellpadding="27">
<tr height=76>
<td style="background:#393c3e;padding:.73pt 27px .73pt 20px;height:57.0pt">
<img src="gomx.svg" width="126" height="44" border="0">
<img src="logotipo__s--bco.svg" width="110" height="48" border="0" align="right">
</td>
</tr>
<tr height=400>
<td valign="top">
<p marginwidth = "27px">
<font color="#5A5A5A" face="Arial" size="3.5">
<strong>Titulo o subtitulo</strong><br>
<br>
<br>
Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto. Lorem Ipsum ha sido el texto de relleno estándar de las industrias desde el año 1500, cuando un impresor<br>
<br>
<a href="#">
Links de referencía
</a>
<br>
<br>
Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto. Lorem Ipsum ha sido el texto de relleno estándar de las industrias desde el año 1500, cuando un impresor, Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto. Lorem Ipsum ha sido el texto de relleno estándar de las industrias desde el año 1500, cuando un impresor<br>
<br>
</font>
</p>
<div style="width: 100%;text-align: center;padding: 40px 0;">
<button style="border: none; font-size: 18px;border-radius: 3px;padding: 12px 25px;box-shadow: 0 2px 0 0 #1b5dab;color: #fff;background-color: #4A90E2;border-color: #3483de;" type="button">Call to action buttom</button>
</div>
</td>
</tr>
<tr height=76>
<td width="50%" style="width:50.0%;background:#393c3e;padding:.73pt 27px .73pt 22px;height:57.0pt">
<img src="gomx.svg" width="75" height="32" border="0">
<img src="logo_mexico.svg" width="86" height="35" align="right" border="0">
</td>
</tr>
</table>
</body>
</html>
I don't know what I'm doing wrong, can someone help me.
I solved it in the following way, from the function that I have in UsersMaile, I load the image inside attachments, I put an id and I call the id in the html
In the HTML I call the contentId it looks like this: