title: Send email from gmail using Telnet
body: <p>I am working on windows and I have enabled telnet client</p>
  
  <p>In cmd prompt:</p>
  
  <pre><code>$telnet smtp.gmail.com 587
  220 mx.google.com ESMTP dk3sm50678627pbc.32 - gsmtp
  $Helo
  250 mx.google.com at your service
  $ mail from: &lt;myuser@gmail.com&gt;
  530 5.7.0 Must issue a STARTTLS command first. dk3sm50678627pbc.32 - gsmtp
  $ STARTTLS
  220 2.0.0 Ready to start TLS
  $ mail from:
  C:\Users\{myuser}&gt;
  Connection to host lost.
  </code></pre>
  
  <p>Don't know What is the problem ?</p>
  
  <p>Can anyone help me out , how i can send emails from gmail server using telnet from command line ></p>