hi, i'm trying to implement the java mail. I've got doubts on how to state my type of smtp server? do i need to download anything? or jus state, like "hotmail" server? lets say i the code below: Socket s = new Socket("mail.yourserver.com",25); PrintWriter out = new PrintWriter(s.getOutputStream()); what should i write on the "mail.yourserver.com" n do let me know, if my code is needed. thanks in advance.