I am creating a java program that connects to the SMTP server, also using GUI I am trying to use the getText feature to use the information inputted by the user to the server. I am getting a NullPointer Exception...mu code is:
out.println("mail from: " +From.getText());
I am also using the printWriter
What am I doing wrong?