rob006
1
This is how email notifications usually looks like:
But sometimes I’m getting notifications without avatar:
Avatar is missing in message HTML, so it looks like some weird conditions which sometimes hides avatar from email:
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="vertical-align: top;">
</td>
<td>
<a href="https://forum.yiiframework.com/u/samdark" target="_blank" style="text-decoration: none; font-weight: bold; color: #006699;; font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;color:#006699;text-decoration:none;font-weight:bold">samdark</a>
<a href="https://forum.yiiframework.com/u/samdark" target="_blank" style="text-decoration: none; font-weight: bold; color: #006699;; font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:7px;color: #006699;font-weight:normal;">Alexander Makarov</a>
<span style="font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:7px;color: #999;">Yii Core Developer</span>
<br>
<span style="text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px">January 22</span>
</td>
</tr>
</table>
1 Like
machour
(Mehdi Achour)
2
Is the avatar HTML present in the original email? (not processed by the reader)
1 Like
rob006
3
I pasted HTML from original email - there is no avatar there. It is not even encoded:
----==_mimepart_5c474805878e5_cc73f9e981f01001052db
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<div>
<div></div>
<div style="margin-bottom:25px;">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="vertical-align: top;">
</td>
<td>
<a href="https://forum.yiiframework.com/u/samdark" target="_blank" style="text-decoration: none; font-weight: bold; color: #006699;; font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;color:#006699;text-decoration:none;font-weight:bold">samdark</a>
<a href="https://forum.yiiframework.com/u/samdark" target="_blank" style="text-decoration: none; font-weight: bold; color: #006699;; font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:7px;color: #006699;font-weight:normal;">Alexander Makarov</a>
<span style="font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:7px;color: #999;">Yii Core Developer</span>
<br>
<span style="text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px">January 22</span>
</td>
</tr>
</table>
<div style="padding-top:5px;"><p style="margin-top:0; border: 0;">Categories created. Have to move topics.</p></div>
</div>
Emails with avatar looks like this:
----==_mimepart_5c458ba77c8b5_b93ffb141e3904489362
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div>=0D
=0D
<div></div>=0D
=0D
<div style=3D"margin-bottom:25px;">=0D
<table cellspacing=3D"0" cellpadding=3D"0" border=3D"0">=0D
<tr>=0D
<td style=3D"vertical-align:top;width:55px;">=0D
<img src=3D"https://forum.yiiframework.com/user_avatar/forum.yiif=
ramework.com/samdark/45/17386_2.png" title=3D"samdark" width=3D"45" heigh=
t=3D"45">=0D
</td>=0D
<td>=0D
<a href=3D"https://forum.yiiframework.com/u/samdark" target=3D"_b=
lank" style=3D"text-decoration: none; font-weight: bold; color: #006699;;=
font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-ser=
if;color:#006699;text-decoration:none;font-weight:bold">samdark</a>=0D
<a href=3D"https://forum.yiiframework.com/u/samdark" target=3D"=
_blank" style=3D"text-decoration: none; font-weight: bold; color: #006699=
;; font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-s=
erif;text-decoration:none;margin-left:7px;color: #006699;font-weight:norm=
al;">Alexander Makarov</a>=0D
<span style=3D"font-size:13px;font-family:'lucida grande',tahom=
a,verdana,arial,sans-serif;text-decoration:none;margin-left:7px;color: #9=
99;">Yii Core Developer</span>=0D
<br>=0D
<span style=3D"text-align:right;color:#999999;padding-right:5px;f=
ont-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px=
">January 21</span>=0D
</td>=0D
</tr>=0D
</table>=0D
<div style=3D"padding-top:5px;"><p style=3D"margin-top:0; border: 0;"><=
a href=3D"https://forum.yiiframework.com/u/insolita" style=3D"text-decora=
tion: none; font-weight: bold; color: #006699;">@Insolita</a> marking it =
2.1 doesn=E2=80=99t worth the trouble and will drift us away from 3.0. Ei=
ther it is a minor release or we=E2=80=99re not updating it.</p></div>=0D=
1 Like
machour
(Mehdi Achour)
4
Asked because I didn’t see the quoted-printable marks (=3D).
The content-encoding seems off.
1 Like