title: Telnet to login with username and password to mail Server
body: <p>I am having some issues trying to connect through telnet to a mail server.The main problem that I am having is that I need to create a script that logs me to the destination and I can't find a way to echo the password.</p>
  
  <p>What I tried:</p>
  
  <pre><code>telnet host -l username ; echo 'password'
  </code></pre>
  
  <p>And still it asks for my password.Is there any way to fix this or I am doing something wrong?</p>