Pipe? :confused:
Type: Posts; User: briceman92
Pipe? :confused:
Wow, thanks. I tried the batch file, and it didn't work, as you said. I also did what you said in my origional attempt, and again, it did what you said. I will look in to socket programing, but I...
Good news and bad news. I don't get an error message, but when I run the program, after I put in the command and press enter, the program terminates. :(
#include <iostream>
#include <string>...
I need it to be in C++ because I want the user to be able to edit what is in the batch file. i.e.: the address that the email is being sent to, and the message.
Ok, but how do I code that? I can...
sounds good, but I'm still in the dark about how to execute what the user has put in through command prompt.
system(var); doesn't work, any ideas? :confused:
Ok, I'm having an idea here, because I need it to be a program, I'm going to tell C++ to create a batch file with everything I need in it, and then have it execute it. When it's done, delete the...
I'm trying to send an email using telnet in C++. I've done it before in regular command prompt, the log went like this:
telnet /f C:\log.txt mail.mycbsi.com 25
220 pbrane.mycbsi.net ESMTP Postfix...