title: Using gmail address to send out emails with Postal
body: <p>I'm trying to send out an email from my Gmail account using <a href="http://aboutcode.net/postal/" rel="nofollow">Postal</a>:</p>
  
  <pre><code>dynamic email = new Email("Appointment");
  email.To = "sergiotapia@outlook.com";
  email.Send();
  </code></pre>
  
  <p>And I get this error:</p>
  
  <blockquote>
    <p>System.Net.Mail.SmtpException: {"The SMTP server requires a secure connection or the 
    client was not authenticated.The server response was: 5.7.0 Must issue a STARTTLS command first. </p>
  </blockquote>
  
  <p>Any ideas what I need to do to send this email out?</p>
  
  <p>Here's my web.config setting:</p>
  
  <pre><code>&lt;system.net&gt;
      &lt;mailSettings&gt;
          &lt;smtp deliveryMethod="Network" from="asdf@adsf.ly.com"&gt;
          &lt;network host="smtp.gmail.com" port="587" defaultCredentials="false" userName="asdf@adsf.ly" password="asdf" /&gt;
          &lt;/smtp&gt;
      &lt;/mailSettings&gt;
  &lt;/system.net&gt;
  </code></pre>