C++ Programming
03-30-2009, 04:24 AM
Hey Guys,
I am writing an SMTP mail client in c++ in unix and it needs to do the following:
I need to create a client
the client talks to port 25
it sends a hello world message
I also need to support and smtpclient class and a clientdriver class
I have written the smtpclient class, but I am drawing blanks on the rest. I am going to include the smtpclient class below ,but I was hoping for some pointers or help on the rest of the program.
Class smtpclient (
public String smtpClient (String machineName, int portNumber);
public String login (String userName, String password);
public void logout ():
public String senderAndReceiver (String sender, String receiver);
public String messageBodyPrefix (String message);
public String messageSuffix (String message);
I am writing an SMTP mail client in c++ in unix and it needs to do the following:
I need to create a client
the client talks to port 25
it sends a hello world message
I also need to support and smtpclient class and a clientdriver class
I have written the smtpclient class, but I am drawing blanks on the rest. I am going to include the smtpclient class below ,but I was hoping for some pointers or help on the rest of the program.
Class smtpclient (
public String smtpClient (String machineName, int portNumber);
public String login (String userName, String password);
public void logout ():
public String senderAndReceiver (String sender, String receiver);
public String messageBodyPrefix (String message);
public String messageSuffix (String message);