[
  {
    "path": "email-inlined.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n    <title>Simple Transactional Email</title>\n    <style media=\"all\" type=\"text/css\">\n@media all {\n  .btn-primary table td:hover {\n    background-color: #ec0867 !important;\n  }\n\n  .btn-primary a:hover {\n    background-color: #ec0867 !important;\n    border-color: #ec0867 !important;\n  }\n}\n@media only screen and (max-width: 640px) {\n  .main p,\n.main td,\n.main span {\n    font-size: 16px !important;\n  }\n\n  .wrapper {\n    padding: 8px !important;\n  }\n\n  .content {\n    padding: 0 !important;\n  }\n\n  .container {\n    padding: 0 !important;\n    padding-top: 8px !important;\n    width: 100% !important;\n  }\n\n  .main {\n    border-left-width: 0 !important;\n    border-radius: 0 !important;\n    border-right-width: 0 !important;\n  }\n\n  .btn table {\n    max-width: 100% !important;\n    width: 100% !important;\n  }\n\n  .btn a {\n    font-size: 16px !important;\n    max-width: 100% !important;\n    width: 100% !important;\n  }\n}\n@media all {\n  .ExternalClass {\n    width: 100%;\n  }\n\n  .ExternalClass,\n.ExternalClass p,\n.ExternalClass span,\n.ExternalClass font,\n.ExternalClass td,\n.ExternalClass div {\n    line-height: 100%;\n  }\n\n  .apple-link a {\n    color: inherit !important;\n    font-family: inherit !important;\n    font-size: inherit !important;\n    font-weight: inherit !important;\n    line-height: inherit !important;\n    text-decoration: none !important;\n  }\n\n  #MessageViewBody a {\n    color: inherit;\n    text-decoration: none;\n    font-size: inherit;\n    font-family: inherit;\n    font-weight: inherit;\n    line-height: inherit;\n  }\n}\n</style>\n  </head>\n  <body style=\"font-family: Helvetica, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.3; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background-color: #f4f5f6; margin: 0; padding: 0;\">\n    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"body\" style=\"border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f4f5f6; width: 100%;\" width=\"100%\" bgcolor=\"#f4f5f6\">\n      <tr>\n        <td style=\"font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;\" valign=\"top\">&nbsp;</td>\n        <td class=\"container\" style=\"font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; max-width: 600px; padding: 0; padding-top: 24px; width: 600px; margin: 0 auto;\" width=\"600\" valign=\"top\">\n          <div class=\"content\" style=\"box-sizing: border-box; display: block; margin: 0 auto; max-width: 600px; padding: 0;\">\n\n            <!-- START CENTERED WHITE CONTAINER -->\n            <span class=\"preheader\" style=\"color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;\">This is preheader text. Some clients will show this text as a preview.</span>\n            <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"main\" style=\"border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border: 1px solid #eaebed; border-radius: 16px; width: 100%;\" width=\"100%\">\n\n              <!-- START MAIN CONTENT AREA -->\n              <tr>\n                <td class=\"wrapper\" style=\"font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; box-sizing: border-box; padding: 24px;\" valign=\"top\">\n                  <p style=\"font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;\">Hi there</p>\n                  <p style=\"font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;\">Sometimes you just want to send a simple HTML email with a simple design and clear call to action. This is it.</p>\n                  <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"btn btn-primary\" style=\"border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; box-sizing: border-box; width: 100%; min-width: 100%;\" width=\"100%\">\n                    <tbody>\n                      <tr>\n                        <td align=\"left\" style=\"font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; padding-bottom: 16px;\" valign=\"top\">\n                          <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: auto;\">\n                            <tbody>\n                              <tr>\n                                <td style=\"font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; border-radius: 4px; text-align: center; background-color: #0867ec;\" valign=\"top\" align=\"center\" bgcolor=\"#0867ec\"> <a href=\"http://htmlemail.io\" target=\"_blank\" style=\"border: solid 2px #0867ec; border-radius: 4px; box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 16px; font-weight: bold; margin: 0; padding: 12px 24px; text-decoration: none; text-transform: capitalize; background-color: #0867ec; border-color: #0867ec; color: #ffffff;\">Call To Action</a> </td>\n                              </tr>\n                            </tbody>\n                          </table>\n                        </td>\n                      </tr>\n                    </tbody>\n                  </table>\n                  <p style=\"font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;\">This is a really simple email template. It's sole purpose is to get the recipient to click the button with no distractions.</p>\n                  <p style=\"font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;\">Good luck! Hope it works.</p>\n                </td>\n              </tr>\n\n              <!-- END MAIN CONTENT AREA -->\n              </table>\n\n            <!-- START FOOTER -->\n            <div class=\"footer\" style=\"clear: both; padding-top: 24px; text-align: center; width: 100%;\">\n              <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;\" width=\"100%\">\n                <tr>\n                  <td class=\"content-block\" style=\"font-family: Helvetica, sans-serif; vertical-align: top; color: #9a9ea6; font-size: 16px; text-align: center;\" valign=\"top\" align=\"center\">\n                    <span class=\"apple-link\" style=\"color: #9a9ea6; font-size: 16px; text-align: center;\">Company Inc, 7-11 Commercial Ct, Belfast BT1 2NB</span>\n                    <br> Don't like these emails? <a href=\"http://htmlemail.io/blog\" style=\"text-decoration: underline; color: #9a9ea6; font-size: 16px; text-align: center;\">Unsubscribe</a>.\n                  </td>\n                </tr>\n                <tr>\n                  <td class=\"content-block powered-by\" style=\"font-family: Helvetica, sans-serif; vertical-align: top; color: #9a9ea6; font-size: 16px; text-align: center;\" valign=\"top\" align=\"center\">\n                    Powered by <a href=\"http://htmlemail.io\" style=\"color: #9a9ea6; font-size: 16px; text-align: center; text-decoration: none;\">HTMLemail.io</a>\n                  </td>\n                </tr>\n              </table>\n            </div>\n\n            <!-- END FOOTER -->\n            \n<!-- END CENTERED WHITE CONTAINER --></div>\n        </td>\n        <td style=\"font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;\" valign=\"top\">&nbsp;</td>\n      </tr>\n    </table>\n  </body>\n</html>\n"
  },
  {
    "path": "email.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n    <title>Simple Transactional Email</title>\n    <style media=\"all\" type=\"text/css\">\n    /* -------------------------------------\n    GLOBAL RESETS\n------------------------------------- */\n    \n    body {\n      font-family: Helvetica, sans-serif;\n      -webkit-font-smoothing: antialiased;\n      font-size: 16px;\n      line-height: 1.3;\n      -ms-text-size-adjust: 100%;\n      -webkit-text-size-adjust: 100%;\n    }\n    \n    table {\n      border-collapse: separate;\n      mso-table-lspace: 0pt;\n      mso-table-rspace: 0pt;\n      width: 100%;\n    }\n    \n    table td {\n      font-family: Helvetica, sans-serif;\n      font-size: 16px;\n      vertical-align: top;\n    }\n    /* -------------------------------------\n    BODY & CONTAINER\n------------------------------------- */\n    \n    body {\n      background-color: #f4f5f6;\n      margin: 0;\n      padding: 0;\n    }\n    \n    .body {\n      background-color: #f4f5f6;\n      width: 100%;\n    }\n    \n    .container {\n      margin: 0 auto !important;\n      max-width: 600px;\n      padding: 0;\n      padding-top: 24px;\n      width: 600px;\n    }\n    \n    .content {\n      box-sizing: border-box;\n      display: block;\n      margin: 0 auto;\n      max-width: 600px;\n      padding: 0;\n    }\n    /* -------------------------------------\n    HEADER, FOOTER, MAIN\n------------------------------------- */\n    \n    .main {\n      background: #ffffff;\n      border: 1px solid #eaebed;\n      border-radius: 16px;\n      width: 100%;\n    }\n    \n    .wrapper {\n      box-sizing: border-box;\n      padding: 24px;\n    }\n    \n    .footer {\n      clear: both;\n      padding-top: 24px;\n      text-align: center;\n      width: 100%;\n    }\n    \n    .footer td,\n    .footer p,\n    .footer span,\n    .footer a {\n      color: #9a9ea6;\n      font-size: 16px;\n      text-align: center;\n    }\n    /* -------------------------------------\n    TYPOGRAPHY\n------------------------------------- */\n    \n    p {\n      font-family: Helvetica, sans-serif;\n      font-size: 16px;\n      font-weight: normal;\n      margin: 0;\n      margin-bottom: 16px;\n    }\n    \n    a {\n      color: #0867ec;\n      text-decoration: underline;\n    }\n    /* -------------------------------------\n    BUTTONS\n------------------------------------- */\n    \n    .btn {\n      box-sizing: border-box;\n      min-width: 100% !important;\n      width: 100%;\n    }\n    \n    .btn > tbody > tr > td {\n      padding-bottom: 16px;\n    }\n    \n    .btn table {\n      width: auto;\n    }\n    \n    .btn table td {\n      background-color: #ffffff;\n      border-radius: 4px;\n      text-align: center;\n    }\n    \n    .btn a {\n      background-color: #ffffff;\n      border: solid 2px #0867ec;\n      border-radius: 4px;\n      box-sizing: border-box;\n      color: #0867ec;\n      cursor: pointer;\n      display: inline-block;\n      font-size: 16px;\n      font-weight: bold;\n      margin: 0;\n      padding: 12px 24px;\n      text-decoration: none;\n      text-transform: capitalize;\n    }\n    \n    .btn-primary table td {\n      background-color: #0867ec;\n    }\n    \n    .btn-primary a {\n      background-color: #0867ec;\n      border-color: #0867ec;\n      color: #ffffff;\n    }\n    \n    @media all {\n      .btn-primary table td:hover {\n        background-color: #ec0867 !important;\n      }\n      .btn-primary a:hover {\n        background-color: #ec0867 !important;\n        border-color: #ec0867 !important;\n      }\n    }\n    \n    /* -------------------------------------\n    OTHER STYLES THAT MIGHT BE USEFUL\n------------------------------------- */\n    \n    .last {\n      margin-bottom: 0;\n    }\n    \n    .first {\n      margin-top: 0;\n    }\n    \n    .align-center {\n      text-align: center;\n    }\n    \n    .align-right {\n      text-align: right;\n    }\n    \n    .align-left {\n      text-align: left;\n    }\n    \n    .text-link {\n      color: #0867ec !important;\n      text-decoration: underline !important;\n    }\n    \n    .clear {\n      clear: both;\n    }\n    \n    .mt0 {\n      margin-top: 0;\n    }\n    \n    .mb0 {\n      margin-bottom: 0;\n    }\n    \n    .preheader {\n      color: transparent;\n      display: none;\n      height: 0;\n      max-height: 0;\n      max-width: 0;\n      opacity: 0;\n      overflow: hidden;\n      mso-hide: all;\n      visibility: hidden;\n      width: 0;\n    }\n    \n    .powered-by a {\n      text-decoration: none;\n    }\n    \n    /* -------------------------------------\n    RESPONSIVE AND MOBILE FRIENDLY STYLES\n------------------------------------- */\n    \n    @media only screen and (max-width: 640px) {\n      .main p,\n      .main td,\n      .main span {\n        font-size: 16px !important;\n      }\n      .wrapper {\n        padding: 8px !important;\n      }\n      .content {\n        padding: 0 !important;\n      }\n      .container {\n        padding: 0 !important;\n        padding-top: 8px !important;\n        width: 100% !important;\n      }\n      .main {\n        border-left-width: 0 !important;\n        border-radius: 0 !important;\n        border-right-width: 0 !important;\n      }\n      .btn table {\n        max-width: 100% !important;\n        width: 100% !important;\n      }\n      .btn a {\n        font-size: 16px !important;\n        max-width: 100% !important;\n        width: 100% !important;\n      }\n    }\n    /* -------------------------------------\n    PRESERVE THESE STYLES IN THE HEAD\n------------------------------------- */\n    \n    @media all {\n      .ExternalClass {\n        width: 100%;\n      }\n      .ExternalClass,\n      .ExternalClass p,\n      .ExternalClass span,\n      .ExternalClass font,\n      .ExternalClass td,\n      .ExternalClass div {\n        line-height: 100%;\n      }\n      .apple-link a {\n        color: inherit !important;\n        font-family: inherit !important;\n        font-size: inherit !important;\n        font-weight: inherit !important;\n        line-height: inherit !important;\n        text-decoration: none !important;\n      }\n      #MessageViewBody a {\n        color: inherit;\n        text-decoration: none;\n        font-size: inherit;\n        font-family: inherit;\n        font-weight: inherit;\n        line-height: inherit;\n      }\n    }\n    </style>\n  </head>\n  <body>\n    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"body\">\n      <tr>\n        <td>&nbsp;</td>\n        <td class=\"container\">\n          <div class=\"content\">\n\n            <!-- START CENTERED WHITE CONTAINER -->\n            <span class=\"preheader\">This is preheader text. Some clients will show this text as a preview.</span>\n            <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"main\">\n\n              <!-- START MAIN CONTENT AREA -->\n              <tr>\n                <td class=\"wrapper\">\n                  <p>Hi there</p>\n                  <p>Sometimes you just want to send a simple HTML email with a simple design and clear call to action. This is it.</p>\n                  <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"btn btn-primary\">\n                    <tbody>\n                      <tr>\n                        <td align=\"left\">\n                          <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                            <tbody>\n                              <tr>\n                                <td> <a href=\"http://htmlemail.io\" target=\"_blank\">Call To Action</a> </td>\n                              </tr>\n                            </tbody>\n                          </table>\n                        </td>\n                      </tr>\n                    </tbody>\n                  </table>\n                  <p>This is a really simple email template. It's sole purpose is to get the recipient to click the button with no distractions.</p>\n                  <p>Good luck! Hope it works.</p>\n                </td>\n              </tr>\n\n              <!-- END MAIN CONTENT AREA -->\n              </table>\n\n            <!-- START FOOTER -->\n            <div class=\"footer\">\n              <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                <tr>\n                  <td class=\"content-block\">\n                    <span class=\"apple-link\">Company Inc, 7-11 Commercial Ct, Belfast BT1 2NB</span>\n                    <br> Don't like these emails? <a href=\"http://htmlemail.io/blog\">Unsubscribe</a>.\n                  </td>\n                </tr>\n                <tr>\n                  <td class=\"content-block powered-by\">\n                    Powered by <a href=\"http://htmlemail.io\">HTMLemail.io</a>\n                  </td>\n                </tr>\n              </table>\n            </div>\n\n            <!-- END FOOTER -->\n            \n<!-- END CENTERED WHITE CONTAINER --></div>\n        </td>\n        <td>&nbsp;</td>\n      </tr>\n    </table>\n  </body>\n</html>\n"
  },
  {
    "path": "license.txt",
    "content": "The MIT License (MIT)\n\nCopyright (c) [2013] [Lee Munroe]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "readme.md",
    "content": "# Free Responsive HTML Email Template\n\nSometimes all you want is a really simple responsive HTML email template with a clear call-to-action button. Here it is.\n\n[See live preview](http://leemunroe.github.io/responsive-html-email-template/email.html).\n\n<img src=\"https://github.com/leemunroe/responsive-html-email-template/assets/15963/29595188-d4f3-4236-877d-6488c159140d\" alt=\"Simple HTML Email Template\" width=\"500\">\n\n## Inline your CSS before sending\n\nEmail is notorious for inconsistent CSS support. Therefore you should always inline your CSS and send a test to yourself before sending.\n\n### Sending emails directly from your codebase or using a developer service?\n\nFor an API service (like Mailgun, SendGrid, Postmark) **you need to inline the CSS before sending**. See `email-inlined.html` for an example.\n\nYou can use this [Email CSS Inliner](https://htmlemail.io/inline/) and then [send a test email to yourself](https://postdrop.io) to verify it works as expected. \n\n* Copy all of email.html\n* Paste the HTML as the source into the inliner\n* Copy the HTML output and use this as the email template you send\n\n### Sending emails using a marketing service like Mailchimp?\n\nUse the template `email.html` as is. They'll put the CSS inline for you when you put together your campaign.\n\n## Images in email\n\nWhen inserting images remember to include the following attributes or risk them breaking in different clients:\n\n* `src`\n* `alt`\n* `width`\n* `height`\n* `border`\n\nExample:\n\n`<img src=\"https://absolute-path-to-image.jpg\" alt=\"Useful alt text\" width=\"500\" height=\"300\" border=\"0\" style=\"border:0; outline:none; text-decoration:none; display:block;\">`\n\n[More information here](https://www.smashingmagazine.com/2017/01/introduction-building-sending-html-email-for-web-developers/)\n\n## Tried and tested on all major email clients\n\nTested on mobile, desktop and web.\n\n<img width=\"1424\" alt=\"Tested on Email Clients\" src=\"https://github.com/leemunroe/responsive-html-email-template/assets/15963/a5920027-f27d-41aa-bcbe-a3693f9d3277\">\n\n## More HTML email resources\n\n* [10 Premium HTML Email Templates for Developers](https://htmlemail.io)\n* [Free Figma Email Template Design System](https://htmlemail.io/design-system)\n* [An Introduction To Building And Sending HTML Email](https://www.smashingmagazine.com/2017/01/introduction-building-sending-html-email-for-web-developers/)\n* [Grunt Email Design Workflow](https://github.com/leemunroe/grunt-email-design)\n* [Everything Web Developers Need To Know About Transactional Email](https://webdesign.tutsplus.com/articles/everything-developers-need-to-know-about-sending-transactional-email--cms-31759)\n* [Manage and Send Email Templates To Yourself](https://postdrop.io)\n* [Accessible Email Evaluation Tool](https://www.accessible-email.org/)\n\nThis free template is part of a pack of responsive email templates for developers and startups available on [HTML Email](https://htmlemail.io).\n[![image](https://github.com/leemunroe/responsive-html-email-template/assets/15963/61d4a6d7-bd0e-4241-b4e5-d766162df192)](https://htmlemail.io)\n\n"
  }
]