i got an example form roseindia on how to send an email. Now it works perfectly like this, and i can send mail to my email adress with that code (thats just a part of it)
String host = "192.168.1.14";
String from = "Admin@Admin.com";
String to = "myEmailadress.com";
but the host name is the one i copied from rose india, it works, but i take it its not the right one i should use? What host should i use?
This is where i got the code, and mine lools exacly the same, except, it has my email at "to"
http://www.roseindia.net/javamail/sending-message-using-java-mail.shtml