title: How to use gmail account for ssrs email subscription
body: <p>I have a report using <strong>SSRS 2008 R2</strong>, I want to subscribe to this report using the "email" option. I have configured the settings in the reporting services manager to use server as "smtp.gmail.com" and sender address as my gmail ID.</p>
  
  <p>I also tried using the SMTP virtual server and relay it using smart host as "smtp.gmail.com". But I get the following error while sending email : </p>
  
  <blockquote>
    <p>Failure sending mail: The transport failed to connect to the server.</p>
  </blockquote>
  
  <p>I am using <strong>IIS 7</strong> and <strong>Windows Server 2008</strong>. Following is the snippet of my <code>rsreportserver.config</code> file:</p>
  
  <pre><code>&lt;SMTPServer&gt;smtp.gmail.com&lt;/SMTPServer&gt;
  &lt;SMTPServerPort&gt;587
  &lt;/SMTPServerPort&gt;
  &lt;SMTPAccountName&gt;
  &lt;/SMTPAccountName&gt;
  &lt;SMTPConnectionTimeout&gt;
  &lt;/SMTPConnectionTimeout&gt;
  &lt;SMTPServerPickupDirectory&gt;
  &lt;/SMTPServerPickupDirectory&gt;
  &lt;SMTPUseSSL&gt;True
  &lt;/SMTPUseSSL&gt;
  &lt;SendUsing&gt;2&lt;/SendUsing&gt;
  &lt;SMTPAuthenticate&gt;&lt;/SMTPAuthenticate&gt;
  &lt;From&gt;myid@gmail.com&lt;/From&gt;
  </code></pre>
  
  <p>Any help will be highly appreciated.
  Thanks</p>