Hello,

You can use ncat for this.

echo "ehlo mailserver.com" | nc <some ip address> 25

 <snip>
 250-PIPELINING
 250-SIZE 10240000
 250-VRFY
 250-ETRN
 250-STARTTLS
 250-AUTH LOGIN PLAIN
 250-AUTH=LOGIN PLAIN
 250 8BITMIME

Hope that helps.

-Paul

jhuniepi wrote:
yeah i always use telnet but that's my problem. i cant send string to tcp port automatically using telnet command. i have to enter the telnet environment to issue a command. And my program is the service that run on a certain tcp port. the format is just plain text with no encryption.:)

On 8/10/06, *Ariz Jacinto* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    you can always use the telnet command :)  sending a string is one thing
    but if you're going to send it to a known service, better comply
    with the
    format whether its XML or not.


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to