I am using Ubuntu telnet client. I am trying to send 2 lines over the telnet connection that I have made.
For example:
> telnet en.wikipedia.org 8
You can set the crlf option in telnet. You can do this by, during your telnet session, typing the escape character (^]), and then "toggle crlf". A perhaps cleaner way is to specify this before making the connection:
$ telnet
telnet> toggle crlf
Will send carriage returns as telnet .
telnet> open mailhost smtp