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("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.:confused:
     
  2. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    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.