title: Using javamail to send from hotmail?
body: <p>I've got gmail and yahoo working, but not hotmail. Here's what I have, what am I doing wrong?</p>
  
  <pre><code>private String mailhost = "smtp.live.com";
  
      public hotmailSenderActivity(String user, String password) {   
      this.user = user;   
      this.password = password;   
  
    //This connects to the actual mailserver
      Security.addProvider(new com.provider.JSSEProvider());
      Properties props = new Properties();   
      props.setProperty("mail.transport.protocol", "smtp");   
      props.setProperty("mail.host", mailhost); 
      props.put("mail.smtp.starttls.enable", "true");  
      props.put("mail.smtp.auth", "true");   
      props.put("mail.smtp.port", "587");   
      props.put("mail.smtp.socketFactory.port", "587");   
      props.put("mail.smtp.socketFactory.class",   
              "javax.net.ssl.SSLSocketFactory");   
      props.put("smtp.starttls.enable", "true");
      props.put("mail.smtp.socketFactory.fallback", "false");   
      props.setProperty("mail.smtp.quitwait", "false");   
  
      session = Session.getDefaultInstance(props, this);  
  </code></pre>
  
  <p>I have tried port 25 + 587 without the SSL stuff. I have tried port 465 WITH the SSL stuff. The email and password are correct (Ive hard coded them to be sure). </p>
  
  <p>I don't receive any errors... So whats the problem?</p>