Socket Disconnected
Now Im not sure If I am in the Right place for this question, So if Im not can someone please reply anyways....Ok here is my problem, I have A remote Keylogger and when I fill in the emails and such to which the info is sent to, There is A Test Button to test the email...So then I get a Error in which it says.,,,,,Failed To connect to STMP Server. SOcket Is disconnected...So How do I connect my socket? Im 14 and new to this....My Keyloggers Name is Ardamax if that helps. Please Help
Thanks
Sincerly, Justin T.
# 1
Have a look at the Java Mail API. You needn't do this over raw sockets: http://java.sun.com/products/javamail/This might help, too. Google found it after searching for "java mail": http://www.javaworld.com/jw-10-2001/jw-1026-javamail.html%
# 2
> Now Im not sure If I am in the Right place for this
> question, So if Im not can someone please reply
> anyways....Ok here is my problem, I have A remote
> Keylogger and when I fill in the emails and such to
> which the info is sent to, There is A Test Button to
> test the email...So then I get a Error in which it
> says.,,,,,Failed To connect to STMP Server. SOcket Is
> disconnected...So How do I connect my socket? Im 14
> and new to this....
Does this ever work?
How are exactly are you attempting to connect?
Are you using JavaMail (which is something that you would have to explicitly get and add to your system.) If you didn't add it then you are not using it. If you want to learn about sockets then you don't want to use JavaMail. If you just want to do email then JavaMail would probably be the way to go.
A STMP server is normally going to require an actual connection and then a user and password.
You should keep in mind that the more relevant information that you provide the easier it can be to help.
Normally for connection issues you would ask in the Networking forum.
# 3
In most cases SMTP servers would not allow direct socket connection. Try a telnet on port 25 (usually the well known SMTP port on most servers). If that is not allowed you would always get a connect error through your socket. As mentioned earlier, you have to usually identify yourself before using the services of SMTP server. And also do remember once you have a raw socket implementation done you would have to adhere to the SMTP protocol for communication or sending mail like MAIL FROM and RCPT TO etc which the SMTP mail server would understand.
As suggested by jschell and duffy use Java Mail APIs instead. Much cleaner and easier to use
Thanks
Aviroop
# 4
> In most cases SMTP servers would not allow direct
> socket connection.
SMTP only works on TCP. And TCP by definition requires a "socket connection".
> Try a telnet on port 25 (usually the well known SMTP port on most servers).
Which would be a socket connection.