HTeuMeuLeu’s avatarHTeuMeuLeu’s Twitter Archive—№ 22,952

    1. TIL Firefox Relay adds its own HTML wrapper around emails it forwards, complete with doctype, <html>, <head> and <body> so you likely end up with two nested <body>. Here’s a diff from a simple test email I sent myself. gist.github.com/hteumeuleu/b92e91e91edeec8e1d9133e87175dc83/revisions #emailgeeks
  1. …in reply to @HTeuMeuLeu
    Unexpectedly, Gmail (desktop webmail) manages to pick up the <style> inside the original email. (Gmail does not support <style> inside the <body>, so this shouldn't have worked there. Does that mean there's a hack in here somewhere?) #emailgeeks
    1. …in reply to @HTeuMeuLeu
      Haha so yes, I can confirm that adding a <style> inside a <head> inside a <body> works in Gmail (desktop webmail). Example: <body> <head><style>.test { background-color:green; }</style></head> <div class="test">…</div> </body> #emailgeeks