It's your mail server setting I guess http://www.oracle.com/technetwork/java/faq-135477.html#connectionrefused http://www.coderanch.com/t/271167/java/java/JavaMail-connection-refused
good luck 2011/3/19 antrox <[email protected]>: > here some more information about the exception > > it seems to be that "localhost" shouldnt be there right? i am running > it with eclipse currently. > > > ---- > System.out.println(e.getMessage()); > ..... > ... > Send failure (javax.mail.MessagingException: Could not connect to SMTP > host: localhost, port: 25 (java.net.ConnectException: Connection > refused: connect)) > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
