New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email template not rendering correctly in GMail. #20

Open
steadweb opened this Issue Jan 13, 2016 · 11 comments

Comments

Projects
None yet
7 participants
@steadweb
Copy link

steadweb commented Jan 13, 2016

Hi,

I'm using the inline version of email alert found within the repo, but the email looks like the following:

image

Will the OS have an impact on how the email is rendered? I'm currently using Ubuntu 14.04

@steadweb

This comment has been minimized.

Copy link

steadweb commented Jan 13, 2016

Just checked on my iPhone and the template renders as expected, so this will most likely be a Linux/Ubuntu issue 😄

@leemunroe

This comment has been minimized.

Copy link
Contributor

leemunroe commented Jan 14, 2016

Interesting, I'm not aware of OS having an impact. @steadweb What client are you using here, is this Gmail web?

@ebeeson

This comment has been minimized.

Copy link

ebeeson commented Jan 14, 2016

And if so, what browser?

On Wed, Jan 13, 2016 at 4:23 PM, Lee Munroe notifications@github.com
wrote:

Interesting, I'm not aware of OS having an impact. @steadweb
https://github.com/steadweb What client are you using here, is this
Gmail web?


Reply to this email directly or view it on GitHub
#20 (comment)
.

@steadweb

This comment has been minimized.

Copy link

steadweb commented Jan 14, 2016

Thanks for the quick responses @leemunroe and @ebeeson.

I was using GMail Web, I wasn't using an application installed on the OS. The browser I was using was Google Chrome, version 47.0.2526.106.

@mgraupner

This comment has been minimized.

Copy link

mgraupner commented Mar 7, 2016

I'm having the same problem. Client: Firefox 45 on Mac OS X 10.11.3. Same for Chrome 50.0.2661.11 dev (64-bit) on Mac OS.

bildschirmfoto 2016-03-07 um 16 20 08

@alfredobarron

This comment has been minimized.

Copy link

alfredobarron commented Mar 15, 2016

I am have the same problem OS X El Capitan OS X 10.11.3 (15D21) and Chrome Versión 48.0.2564.116 (64-bit)

captura de pantalla 2016-03-14 a las 9 47 08 p m

@mathvav

This comment has been minimized.

Copy link

mathvav commented Nov 13, 2016

Are all of you inlining the CSS? As I understand, most mail clients remove style tags so that it doesn't change the style of the content OUTSIDE the email. @steadweb I'm guessing the reason it works on your iPhone is that it uses a different HTML rendering engine that allows style tags (since those wouldn't affect the natively coded GUI).

But that's just my guess.

@steadweb

This comment has been minimized.

Copy link

steadweb commented Nov 14, 2016

@Anon-Penguin I'm using the example inline templates found within this repo.

https://github.com/mailgun/transactional-email-templates/blob/master/templates/inlined/action.html

@darkknightsds

This comment has been minimized.

Copy link

darkknightsds commented Nov 29, 2017

I am also getting similar results and it does not matter which OS, client, etc. I used the templates as provided by Mailgun and inlined it via Premailer as they recommend. Yet it renders very crudely. Are you guys putting the inlined code directly into your mailer? That is what I am doing.

@leemunroe

This comment has been minimized.

Copy link
Contributor

leemunroe commented Dec 1, 2017

Tested the inlined alert email today in Litmus and looked fine.

image

@darkknightsds Can you share the HTML you're using?

@darkknightsds

This comment has been minimized.

Copy link

darkknightsds commented Dec 5, 2017

@leemunroe Thanks for verifying it is working on your end. I can share some HTML later today but what is interesting is that the template on your personal github worked just fine for me. I followed the exact same process for both, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment