doubts on implementing smtp server???

Discussion in 'Windows Desktop Systems' started by @n!e, Aug 18, 2003.

  1. @n!e

    @n!e Guest

    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("",25);
    PrintWriter out = new PrintWriter(s.getOutputStream());

    what should i write on the ""
    n do let me know, if my code is needed.

    thanks in advance.:confused:
  2. X-Istence

    X-Istence * Political User

    Well first off all you cant connect to a hotmail server from anything but the website.

    Second if zou connect to an SMTP mail server you need to comply to the RFC standards, read those and learn how SMTP works.