I can run a java application without a server using eclipse ide and log4j will send emails as setup in a log4j.properties file. When I try to run the application on a Server however the emails are not sent. I have googled this problem all day and can't seem to find a reason behind this. Thanks for any help.