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><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 12pt; font-family:Calibri } --></style></head> <body class='hmmessage'><div dir='ltr'><br><br><div><hr id="stopSpelling">From: axe_gapm@hotmail.com<br>To: gpenarrieta@trainsolutions.com.ar<br>Subject: ñÑ áéíóú<br>Date: Mon, 8 Jun 2015 12:56:22 -0700<br><br> <style><!-- .ExternalClass .ecxhmmessage P { padding:0px; } .ExternalClass body.ecxhmmessage { font-size:12pt; font-family:Calibri; } --></style> <div dir="ltr">cuerpo del mensaje para RRHH<img src="https://a.gfx.ms/Emoji_1F603.png" alt="Emoji" class="ecxEmoji$1F603$AB2 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F60A.png" alt="Emoji" class="ecxEmoji$1F60A$AC0 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F625.png" alt="Emoji" class="ecxEmoji$1F625$AB6 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F625.png" alt="Emoji" class="ecxEmoji$1F625$AB6 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F440.png" alt="Emoji" class="ecxEmoji$1F440$AB1 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F628.png" alt="Emoji" class="ecxEmoji$1F628$AB9 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F62A.png" alt="Emoji" class="ecxEmoji$1F62A$AC2 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F614.png" alt="Emoji" class="ecxEmoji$1F614$AB4 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F60C.png" alt="Emoji" class="ecxEmoji$1F60C$AC2 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F601.png" alt="Emoji" class="ecxEmoji$1F601$AB0 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F601.png" alt="Emoji" class="ecxEmoji$1F601$AB0 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F359.png" alt="Emoji" class="ecxEmoji$1F359$ABA ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoji_1F35A.png" alt="Emoji" class="ecxEmoji$1F35A$AC2 ecxRenderedEmoji"><font style="font-size:12pt;" size="3" face="Calibri"><a href="http://www.turecibo.com.ar" target="_blank"></a><a href="http://www.turecibo.com.ar" target="_blank">http://www.turecibo.com.ar</a><br><br>http://i.ytimg.com/vi/6rLuO37DSUM/hqdefault.jpg<br><br><br></font> </div></div> </div></body> </html
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.5
<html> <head> <style><!-- .hmmessage P { margin:0px;�4)���������4)�4)���乡����ͅ��4)�4)���еͥ������4)����B�f֖Ǔ�6Ɩ'&�Ч�Т����7G��S���VC�У�&�G�6�73�v�ߛY\��Y�IϏ]�\�I��Ϗ������]���YH����[[��">From: axe_gapm@hotmail.com<br>To: gpenarrieta@trainsolu�ѥ��̹��������MՉ������D���������є�5������V�#R#�Sc�#"�s�'#��'#ࠣ�7G��S���Т�W�FW&��6���� �X�\��Y�HœY[�ΌŸB���^\��[�\����K�ecxhmmessage { font-size:12pt; font-family:Calibri; } --�����屔�(�؁�����Ȉ��Օ����������ͅ�����Ʉ�II! 񥵟�7&3�&�GG3���vg���2�V����cc2��r"�C�$V���"6�7?�H�X�[[ښI Q�� �P��X��[�\�Y[[ښH��[Y�ܘ�H�΋�a.gfx.ms/Emoji_1F60A.png" alt="Emoji" class="ecxEmoji$1F6��� �����I����ɕ�������񥵜��Ɍ����輽����๵̽������cc#R��r"�C�$V���"6�73�&V7�V���Ccc#RD#bV7�&V�O�\�Y[[ښH��[Y�ܘ�H�΋��K�ٞ �\��[[ښW�Q���K��Ȉ[>t="Emoji" class="ecxEmoji$1F625$AB6 ecxRenderedEmoji"><im����Ɍ����輽����๵̽����|������������������������3�&V7�V���CcCCD#V7�&V�FW&VDV���#�Ɩ�r7&3�&�GG3����K�ٞ �\��[[ښW�Q��� ��Ȉ[H�[[ښH��\��H�X�[[ښI Q�628$AB9 ecxRenderedEmoji"><img src="https://a.gfx.ms/Emoj��|������������������������􉕍���������� ȁ���I���FW&VDV���#�Ɩ�r7&3�&�GG3���vg���2�V����ccB��r"�H�[[ښH��\��H�X�[[ښI Q��M P�X��[�\�Y[[ښH��~mg src="https://a.gfx.ms/Emoji_1F60C.png" alt="Emoji" cla���􉕍�������� � ȁ���I����ɕ�������񥵜��Ɍ��������vg���2�V����cc��r"�C�$V���"6�73�&V7�V���C��� IP�X��[�\�Y[[ښH��[Y�ܘ�H�΋��K�ٞ �\��[[�ji_1F601.png" alt="Emoji" class="ecxEmoji$1F601$AB0 ecxRe����ɕ�������񥵜��Ɍ����輽����๵̽����|����������C�$V���"6�73�&V7�V���Cc3S�D$V7�&V�FW&VDV���#�Ϛ[Y�ܘ�H�΋��K�ٞ �\��[[ښW�Q��PK��Ȉ[H�[[ښH��>ass="ecxEmoji$1F35A$AC2 ecxRenderedEmoji"><font style="fo��еͥ�����숁ͥ��̈������ ����ɤ��񄁡ɕ����輽���r�GW&V6�&��6���""F&vWC�%�&��#�����&Vc�&�GG��w�˝\�X�X�˘��K�\��\��]H�؛[�ȏ������˝\�X�X�˘�m.ar</a><br><br>http://i.ytimg.com/vi/6rLuO37DSUM/hqdefau��й���������𽙽���$$�$���$$��𽑥�𽑥��$$�$�����F�c��&�G��У��F��