title: Sending email from localhost using Java
body: <p>Is there a way that I can implement a code that would setup a temporary SMTP server on users computer, send an email and then terminate itself?</p>
  
  <p>I'd like to avoid having to enter credentials for a email account, which I have to do when using Javamail...</p>
  
  <p>EDIT: I need to distribute that program among users and enable them to send me an email by just clicking a button. I have to be able to setup a server with my program without using outside tools, and I have to be able to do it on any computer (if it's connected to the internet, of course).</p>
  
  <p>This needs to be easy to do for my user, else it looses it's point... If a user will have to install aditional software to make it work, there's no point in doing it...</p>
  
  <p>EDIT2: I'm trying to avoid authentication, because Java is relatively easy to decompile. I could jumble it up using some tools, but that not 100% safe. If I enter any emails or passwords, a person determined enough could get to them and mess up my sending address...</p>
  
  <p>EDIT3: No cross-posting so here:
  <a href="http://www.java-forums.org/networking/80389-getting-files-user-computer-google-cloud-drive.html" rel="nofollow">http://www.java-forums.org/networking/80389-getting-files-user-computer-google-cloud-drive.html</a></p>