Email server giving not allowing like how Gmail server allows

view full story

http://serverfault.com – I have been using Gmail to send email so now I tried to move our to a different mail server. Below is the settings. Properties props = new Properties(); props.put("mail.smtp.host", "*******"); props.put("mail.smtp.socketFactory.port", "465"); props.put("mail.smtp.socketFactory.class","javax.net.ssl.SSLSocketFactory"); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.port", "465"); Session session = Session.getDefaultInstance(props,new javax.mail.Authenticator() { protected PasswordA (HowTos)