title: Attaching a log file in Team City using email notification
body: <p>Team City- I have tried to attach log file in Team City by email notification.I am facing difficulties in this. </p>
  
  <p>I tried placing the e-mail templates in the home directory of Team City($HOME\config_notifications\email).</p>
  
  <p>I have also tried placing the templates in the project itself.</p>
  
  <p>A part of the Sample Template:</p>
  
  <pre><code>&lt;events&gt;
     &lt;event type='build_started'&gt;
       &lt;ref template='build_started_tpl'/&gt;
     &lt;/event&gt;
  &lt;/events&gt;
  &lt;templates&gt;
     &lt;template id='build_started_tpl'&gt;
  &lt;subject&gt;Build {PROJECT_NAME}::{BUILD_CONFIG_NAME} {BUILD_NUMBER} started.&lt;/subject&gt;
  &lt;body&gt;Build {PROJECT_NAME}::{BUILD_CONFIG_NAME} {BUILD_NUMBER} started.
  Build results: {BUILD_RESULTS_LINK}
   &lt;/body&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>Both ways are not working.Can somebody help me with this.Being a fresher,can someone explain me in detail.</p>
  
  <p>Thanks in advance.</p>