Windows 10 mail gradient not displayingHow does Windows 8 Runtime (WinRT / Windows Store apps / Windows 10 Universal App) compare to Silverlight and WPF?How can I update npm on Windows?Node.js/Windows error: ENOENT, stat 'C:UsersRTAppDataRoamingnpm'IIS Manager in Windows 10Windows 10 Mail App with Outlook Conditional VMLDisable beep of Linux Bash on Windows 10Uninstall option not showing for installed apps in windows 10Mail messages sent from nodemailer are not showing in user mail sent boxProgrammatically display 2 applications side by side in Windows 10 tablet modeSending Mail with nodemailer and node.js

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

Does a 'pending' US visa application constitute a denial?

How do I find all files that end with a dot

Why should universal income be universal?

Is it possible to put a rectangle as background in the author section?

Can I sign legal documents with a smiley face?

Is there a working SACD iso player for Ubuntu?

Why does the Sun have different day lengths, but not the gas giants?

How do you make your own symbol when Detexify fails?

Biological Blimps: Propulsion

Travelling outside the UK without a passport

WiFi Thermostat, No C Terminal on Furnace

Create all possible words using a set or letters

It grows, but water kills it

Closed-form expression for certain product

Store Credit Card Information in Password Manager?

What is this called? Old film camera viewer?

What is this cable/device?

What if a revenant (monster) gains fire resistance?

Count the occurrence of each unique word in the file

Start making guitar arrangements

Is there a single word describing earning money through any means?

The screen of my macbook suddenly broken down how can I do to recover

Did arcade monitors have same pixel aspect ratio as TV sets?



Windows 10 mail gradient not displaying


How does Windows 8 Runtime (WinRT / Windows Store apps / Windows 10 Universal App) compare to Silverlight and WPF?How can I update npm on Windows?Node.js/Windows error: ENOENT, stat 'C:UsersRTAppDataRoamingnpm'IIS Manager in Windows 10Windows 10 Mail App with Outlook Conditional VMLDisable beep of Linux Bash on Windows 10Uninstall option not showing for installed apps in windows 10Mail messages sent from nodemailer are not showing in user mail sent boxProgrammatically display 2 applications side by side in Windows 10 tablet modeSending Mail with nodemailer and node.js













1















I discovered a problem on the Mail app available in Windows 10, in particular, I developed a little app in NodeJS that send the email with nodemail package, this email have in the header the following layout:



<div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
height: 45px; padding: 10px 15px;">
<strong id="logo" style="color: white; font-size: 20px;
text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
<%= process.env.COMPANY_NAME %></strong>
</div>


the email is perfectly displayed in GMAIL:



enter image description here



but in Windows 10 Mail the gradient is not rendered:



enter image description here



Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.










share|improve this question


























    1















    I discovered a problem on the Mail app available in Windows 10, in particular, I developed a little app in NodeJS that send the email with nodemail package, this email have in the header the following layout:



    <div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
    height: 45px; padding: 10px 15px;">
    <strong id="logo" style="color: white; font-size: 20px;
    text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
    <%= process.env.COMPANY_NAME %></strong>
    </div>


    the email is perfectly displayed in GMAIL:



    enter image description here



    but in Windows 10 Mail the gradient is not rendered:



    enter image description here



    Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.










    share|improve this question
























      1












      1








      1








      I discovered a problem on the Mail app available in Windows 10, in particular, I developed a little app in NodeJS that send the email with nodemail package, this email have in the header the following layout:



      <div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
      height: 45px; padding: 10px 15px;">
      <strong id="logo" style="color: white; font-size: 20px;
      text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
      <%= process.env.COMPANY_NAME %></strong>
      </div>


      the email is perfectly displayed in GMAIL:



      enter image description here



      but in Windows 10 Mail the gradient is not rendered:



      enter image description here



      Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.










      share|improve this question














      I discovered a problem on the Mail app available in Windows 10, in particular, I developed a little app in NodeJS that send the email with nodemail package, this email have in the header the following layout:



      <div id="header" style="background: linear-gradient(to right,#00c7ce,#1a5cce 85%); border-bottom: 4px solid #1a5cce;
      height: 45px; padding: 10px 15px;">
      <strong id="logo" style="color: white; font-size: 20px;
      text-shadow: 1px 1px 1px #8F8888; margin-top: 10px; display: inline-block">
      <%= process.env.COMPANY_NAME %></strong>
      </div>


      the email is perfectly displayed in GMAIL:



      enter image description here



      but in Windows 10 Mail the gradient is not rendered:



      enter image description here



      Is this a bug of Windows 10 Mail app? Because in other email software I got no problem.







      node.js windows-10 nodemailer windows-10-desktop






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 7 at 21:11









      teresteres

      1257




      1257






















          1 Answer
          1






          active

          oldest

          votes


















          2














          This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.



          Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.



          You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).



          Here are some links where you can learn more about this complicated issue:




          • Coding for Windows 10 Mail App (emailonacid.com)


          • Why Clients Render Email Differently (MailChimp)





          share|improve this answer























          • Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

            – teres
            Mar 8 at 11:36






          • 1





            Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

            – ty2k
            Mar 8 at 17:52










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052853%2fwindows-10-mail-gradient-not-displaying%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.



          Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.



          You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).



          Here are some links where you can learn more about this complicated issue:




          • Coding for Windows 10 Mail App (emailonacid.com)


          • Why Clients Render Email Differently (MailChimp)





          share|improve this answer























          • Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

            – teres
            Mar 8 at 11:36






          • 1





            Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

            – ty2k
            Mar 8 at 17:52















          2














          This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.



          Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.



          You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).



          Here are some links where you can learn more about this complicated issue:




          • Coding for Windows 10 Mail App (emailonacid.com)


          • Why Clients Render Email Differently (MailChimp)





          share|improve this answer























          • Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

            – teres
            Mar 8 at 11:36






          • 1





            Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

            – ty2k
            Mar 8 at 17:52













          2












          2








          2







          This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.



          Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.



          You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).



          Here are some links where you can learn more about this complicated issue:




          • Coding for Windows 10 Mail App (emailonacid.com)


          • Why Clients Render Email Differently (MailChimp)





          share|improve this answer













          This is not a bug in the Windows 10 Mail app, per se. It is a result of the fact that Gmail and Windows 10 Mail use different rendering engines. Consider how CSS rules get applied differently by different web browsers. The same is true of email clients, except that the web standards set forth by W3C are often completely ignored by email clients, or they may choose to only obey a very small sub-set of the standards.



          Trying to use modern CSS features in email clients is going to produce a wide range of effects that are not always predictable without testing the resulting email in many different environments.



          You may be able to get the desired gradient effect in your screenshot by using a background image rather than a CSS gradient, but this can cause it's own set of issues (such as whether a particular email client renders it at all, whether text is rendered on top of it properly, etc).



          Here are some links where you can learn more about this complicated issue:




          • Coding for Windows 10 Mail App (emailonacid.com)


          • Why Clients Render Email Differently (MailChimp)






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 8 at 4:26









          ty2kty2k

          1639




          1639












          • Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

            – teres
            Mar 8 at 11:36






          • 1





            Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

            – ty2k
            Mar 8 at 17:52

















          • Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

            – teres
            Mar 8 at 11:36






          • 1





            Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

            – ty2k
            Mar 8 at 17:52
















          Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

          – teres
          Mar 8 at 11:36





          Ok, so essentially you suggested me these alternatives: 1. add a gradient image (which can have issue about resolution) 2. use a simple image as background

          – teres
          Mar 8 at 11:36




          1




          1





          Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

          – ty2k
          Mar 8 at 17:52





          Hi @teres, yes those might be possible solutions for you. There are so many ways to go about this issue, but the way I would personally deal with it would be to avoid setting text over a gradient background at all. I know this is not always possible, and you have stakeholders who may demand you implement a particular design for branding/marketing reasons. But at that point we are out of the realm of CSS and into the thornier issue of dealing with clients/stakeholders.

          – ty2k
          Mar 8 at 17:52



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55052853%2fwindows-10-mail-gradient-not-displaying%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

          Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

          How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page