Well, seems to me like you want to send emails via VB right? Even if you don't, this'll still work. Telnet is basically a program that you use to connect to an open port and it just passes raw data back and forth, well, why not just do this in VB? Instead of opening up telnet and sending commands through that, just connect, using winsock, to the server you want to connect to and then send the raw data over the connect urself with VB. You can do anything that you can do in Telnet that way, with any server, because you can just send data like telnet does in VB, so do that, it's faster, more efficient and easier, so read about winsock and any protocols you want to use.