Gmail custom classes are not loading same content is works fine Outlook ..etc | Community
Skip to main content
Level 3
June 17, 2022

Gmail custom classes are not loading same content is works fine Outlook ..etc

  • June 17, 2022
  • 2 replies
  • 1163 views

Hi,

 

While sending emails from the campaign styles are not loading properly for the Gmail but other email accounts display fine outlook etc.

 

Could you please help to resolve the issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SantoshSai
Community Advisor
Community Advisor
June 17, 2022

Hi @satish2info-1 ,

May I know which version of AEM are you on? Do you see any errors in error.log? Did you checked in different browser? It could be sometimes browser specific.

Regards,

Santosh

Santosh Sai
Level 3
June 17, 2022

hi @santoshsai ,

 

we are using 6.5.0 and there are no errors in the logs and it delivers fine! Styles are loading fine in outlook only the problem is for Gmail !

B_Sravan
Community Advisor
Community Advisor
June 19, 2022

Hi @satish2info-1 ,

I had this problem almost 3 years ago while I was working with campaign.

Please make sure that you use tabular format for your emails (<td><tr> tags) and also, try inline styling for your html; that solved my problem. Let me know how it works for you.

 

or have the css loaded under style tag. Reference; https://developers.google.com/gmail/design/css 

Also, check this solution from Felip : https://support.google.com/mail/thread/4760488/css-classes-no-longer-working-in-gmail-browser-clients?hl=en 

Regards,

Sravan