r - Not able to send HTML report in mail body using mailR package -


i trying send html report generated rmarkdown in body of email, email appearing always.

<!doctype html>  <html xmlns="http://www.w3.org/1999/xhtml">  <head>  <meta charset="utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="generator" content="pandoc" />  <meta name="viewport" content="width=device-width, initial-scale=1">  <meta name="author" content="ravindra" />  <meta name="date" content="2016-11-11" />  <title>ods appds data comparison</title>       <link rel="stylesheet" href="ink.css" type="text/css" />  </head>  <body>     <h1 class="title toc-ignore">ods appds data comparison</h1> <h4 class="author"><em>ravindra</em></h4> <h4 class="date"><em>november 11, 2016</em></h4> 

my .rmd file set this. have tried different combinations here no luck.

--- title: "ods appds data comparison" author: "ravindra" date: "november 11, 2016" output:    html_document:      self_contained: no     theme: null     highlight: null     mathjax: null     css: ink.css --- <style type="text/css"> <!--  table {     width:100%; } table, th, td {     border: 1px solid black;     border-collapse: collapse; } th, td {     padding: 7px;     text-align: left; } table tr:nth-child(even) {     background-color: #eee; } table tr:nth-child(odd) {    background-color:#fff; } table th {     background-color: navy;     color: white; }  ---> </style>  options(markdown.html.options = markdownhtmloptions()) 


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -