|Thanks for the reply.|
"1. Try and telnet to the SMTP server, then you can experiment by typing the commands and seeing exactly what you need to type (and how many carriage returns you need to send) before it responds." - I've actually already been doing this but it is a good suggestion. With SMTP there is only the carriage return after the line, and maybe a double CR at the end of the data section.
"2. Perhaps your particular SMTP server is fussy and requires each line to be ended by CR LF character sequence, and you are only sending an LF character?" - This may be more along the lines of what is wrong, I will give this a shot, would the correct java command be "\n" or is there a different one when dealing with servers?
"3. If you are confident enough with threading, do the reading from the socket and the writing to the socket in separate threads, then you don't need to worry about your application locking up just because it's waiting for input." - I'm not to extremely confident with threading, but for this project a base code was given that I needed to fill in and that did not contain any threads.
This problem may be within the Buffered Reader itself, because before I wasn't able to write/read lines until the connection was closed. I will give 2 a shot and report back.