You can easily automate or run other telnet commands with freepascal. There are some good general examples in the freepascal documentation for sockets - the example below addresses sendmail specifically.
If anyone that is interested in automating or testing to see if sendmail or their mail server is working correctly on their linux system, here are some simple example programs: http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=FreePascal-Sockets-Connect-To-SendMail It's really simple, you just have to make sure you know your domain name on your linux box for the HELO or EHLO, (which could be retrieved automatically by other means too). Might work on MS Windows too, if you have a mail server installed. -- L505 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal