I need to be able to make it so the user's response(s) are emailed to me, 'behind the scenes' so to say.
I know how to make their input a character array and all that easy jazz, but I have no idea on how to make it so the responses are emailed to me. Someone told me to try to pipe the commands into telnet, but that wouldn't let the responses change and be emailed. (right?) I can telnet an email,:
telnet mail.mycbsi.com 25
220 pbrane.mycbsi.net ESMTP Postfix
mail from: [email protected]
rcpt to: [email protected]
354 Please start mail input.
This is a test.
250 Mail queued for delivery.
221 Closing connection. Good bye.
That worked just fine, but I had to type all of the commands in. That I know of, there is no way to automate the commands in, and even more so, turn the echo off for that. I don't have to telnet in, that's just the only thing I've tried. Anyone have any ideas or any knowledge that I lack?