Skip to content
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
Open

Email template not rendering correctly in GMail. #20

steadweb opened this issue Jan 13, 2016 · 11 comments

Comments

@steadweb
Copy link

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
Copy link
Author

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

@leemunroe
Copy link
Contributor

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

@ebeeson
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
Copy link
Author

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
Copy link

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
Copy link

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
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
Copy link
Author

@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

@ghost
Copy link

ghost 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
Copy link
Contributor

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

image

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

@ghost
Copy link

ghost 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants