title: HTML inside an Email in DELPHI
body: <p>Im trying to send HTML template via E-Mail directly without Copy-Paste of the Page, i mean to just put the HTML code and send it as that HTML page not Raw Text, the main reason is to send this HTML template via Delphi.</p>
  
  <p>The problem is we get only the text from the HTML, i mean only this part:</p>
  
  <pre><code>&lt;p&gt;Hola chicos!&lt;/p&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&gt;
  </code></pre>
  
  <p>and what i cant get it to show are these lines :</p>
  
  <pre><code>&lt;table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="http://www.feelmalagahostel.com/emails/content.jpg"&gt;
  &lt;table width="800" border="0" cellspacing="0" cellpadding="0" background="http://www.feelmalagahostel.com/emails/header_feel_summer.jpg" style="background-position:top; background-repeat:no-repeat;"&gt;
  &lt;table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="http://www.feelmalagahostel.com/emails/footer.jpg" style="background-position:bottom; background-repeat:no-repeat;"&gt;
  </code></pre>
  
  <p>It just omits them, Shows the  tag images and not the background ones.</p>
  
  <p>so thats the question how do i do it to show in an Email? and need the background images. </p>
  
  <p>the HTML code: </p>
  
  <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;body marginheight="0" marginwidth="0"&gt;
      &lt;table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="http://www.feelmalagahostel.com/emails/content.jpg"&gt;
          &lt;tr&gt;
              &lt;td valign="top"&gt;
                  &lt;table width="800" border="0" cellspacing="0" cellpadding="0" background="http://www.feelmalagahostel.com/emails/header_feel_summer.jpg" style="background-position:top; background-repeat:no-repeat;"&gt;
                      &lt;tr&gt;
                          &lt;td align="center" valign="top"&gt;
                              &lt;!--header--&gt;
                              &lt;table width="730" border="0" align="center" cellpadding="0" cellspacing="0"&gt;
                                  &lt;tr&gt;
                                      &lt;td height="230"&gt;&amp;nbsp;&lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td height="100" align="right" valign="top"&gt;
                                          &lt;table border="0" cellspacing="0" cellpadding="0"&gt;
                                              &lt;tr&gt;&lt;/tr&gt;
                                          &lt;/table&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td height="10"&gt;&amp;nbsp;&lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td height="61" align="right"&gt;
                                          &lt;img src="https://www.auto21.ca/userImages/images/test%20drive%20logo%20FINAL.jpg" width="347" height="61" /&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                              &lt;/table&gt;
                              &lt;!--end header--&gt;
                              &lt;br/&gt;
                              &lt;br/&gt;
                              &lt;!--content--&gt;
                              &lt;table width="600" border="0" cellspacing="0" cellpadding="0" align="center"&gt;
                                  &lt;tr&gt;
                                      &lt;td valign="top"&gt; &lt;font face="Arial, Helvetica, sans-serif" size="2"&gt;
      &lt;p&gt;Hola chicos!&lt;/p&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&gt;
      &lt;p&gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci &lt;/p&gt;
      &lt;p&gt;velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&lt;/p&gt;
      &lt;/font&gt; 
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                              &lt;/table&gt;
                              &lt;!--end content--&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
      &lt;table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="http://www.feelmalagahostel.com/emails/footer.jpg" style="background-position:bottom; background-repeat:no-repeat;"&gt;
          &lt;tr&gt;
              &lt;td valign="top"&gt;
                  &lt;!--footer--&gt;
                  &lt;table width="600" border="0" cellspacing="0" cellpadding="0" align="center"&gt;
                      &lt;tr&gt;
                          &lt;td height="300" valign="top"&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr height="250"&gt;
                          &lt;td&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
                  &lt;!--end footer--&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>